-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rev.151 /materials-physical-transmission errors on older macs #25846
Comments
Do you mind copying |
@Mugen87 Here transmission: 1.00 is set to transmission: 0.00 Graphics Feature Status Vulkan backend - SwiftShader Device (Subzero) |
Thanks! Can you please verify if your device runs the transmission example with a WebGL 2 rendering context? I know there will be a runtime error but when the renderer is created (so before the first frame is rendered), a rendering context is requested and I'd like to know which one it is. You can verify this with the following line right after the renderer has been created: console.log( renderer.getContext() ); |
@Mugen87 I am using the transmisson example and changed webGl-renderer to a "webgl2" renderer. var canvas = document.createElement('canvas'); //Create renderer console.log( renderer.getContext() );output 1: (chrome: Hardware acceleration off;) init | @ | webgl_materials_phys…ransmission.html:72
|
I've never seen a message like that. It would probably be best if you perform an OS upgrade since this will also update the drivers on your system. However, consider that your Mac is over ten years old, I doubt you will get much newer software. TBH, I'm afraid we are not going to provide a fix for this device issue. |
@Mugen87 But is it really a fix for my hardware? Sure I hacked my laptop, but technically its just an "I7 intel processor with a Intel HD graphic 3000". Half of the people I know (and probably on this planet ) are running lesser specs, so I guess they would see this feature either. WJ |
Description
In rev.151 /examples the file /materials-physical-transmission has errors with older mac
posted: @ https://discourse.threejs.org/t/in-rev-151-examples-the-file-materials-physical-transmission-has-errors/50422
Used and worked with other examples extensively
on older mac all working but: "transmission" in R.121 and R.151 will not show when set to transmission:0.00 object will appear.
chrome v.112 and FF v.102 both up to date for macOS-13 HW. mbp 2012 / i7 8GB memory
Intel HD Graphics 3000, OpenGL 3.3
some console messages:
three.module.js:28101 THREE.WebGLRenderer: A WebGL context could not be created. Reason: Could not create a WebGL context, VENDOR = 0xffff, DEVICE = 0xffff, GL_VENDOR = Google Inc. (Intel Inc.), GL_RENDERER = ANGLE (Intel Inc., Intel HD Graphics 3000 OpenGL Engine, OpenGL 3.3 INTEL-10.4.14), GL_VERSION = 10.4.14, Sandboxed = yes, Optimus = no, AMD switchable = no, Reset notification strategy = 0x0000, ErrorMessage = BindToCurrentSequence failed: .
onContextCreationError @ three.module.js:28101
getContext @ three.module.js:27666
WebGLRenderer @ three.module.js:27706
init @ indexGlas.html:98
(anonymous) @ indexGlas.html:90
three.module.js:28101 THREE.WebGLRenderer: A WebGL context could not be created. Reason: Failed to create a WebGL2 context.
onContextCreationError @ three.module.js:28101
getContext @ three.module.js:27666
WebGLRenderer @ three.module.js:27706
init @ indexGlas.html:98
(anonymous) @ indexGlas.html:90
three.module.js:19554 THREE.WebGLProgram: Shader Error 0 - VALIDATE_STATUS false
Program Info Log: Fragment shader is not compiled.
FRAGMENT
ERROR: 0:952: 'textureLod' : no matching overloaded function found
ERROR: 0:952: 'textureLod' : no matching overloaded function found
ERROR: 0:953: 'textureLod' : no matching overloaded function found
ERROR: 0:953: 'textureLod' : no matching overloaded function found
ERROR: 0:952: 'return' : function return is not matching type:
ERROR: 0:956: 'textureSize' : no matching overloaded function found
ERROR: 0:957: 'textureSize' : no matching overloaded function found
ERROR: 0:960: 'textureSize' : no matching overloaded function found
ERROR: 0:981: 'isinf' : no matching overloaded function found
ERROR: 0:981: '' : boolean expression expected
947: vec2 p1 = ( vec2( iuv.x + h1x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;
948: vec2 p2 = ( vec2( iuv.x + h0x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;
949: vec2 p3 = ( vec2( iuv.x + h1x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;
950:
951: vec2 lodFudge = pow( 1.95, lod ) / fullSize;
Winnie
Reproduction steps
Code
Live example
https://discourse.threejs.org/t/in-rev-151-examples-the-file-materials-physical-transmission-has-errors/50422
Screenshots
No response
Version
r151
Device
Desktop
Browser
Firefox
OS
MacOS
The text was updated successfully, but these errors were encountered: