Three.js MeshPhysicalMaterial polyfill or "graceful degradation" for old devices
Budget: $30 – $250 USD
The https://threejs.org/examples/webgl_materials_physical_clearcoat.html won't open on old devices, eg Macbook Pro purchased in 2012.
Error : THREE.WebGLProgram: shader error: 0 35715 false gl.getProgramInfoLog THREE.WebGLShader: gl.getShaderInfoLog() vertex
I need you to reproduce the issue and find a fix.
Transmission and roughness material properties need to be considered.
The fix can consist on detecting hardware not supporting MeshPhysicalMaterial and changing programmatically the material of all concerned objects in the scene so they can be displayed, even basically - graceful degradation - without causing an error.
Error : THREE.WebGLProgram: shader error: 0 35715 false gl.getProgramInfoLog THREE.WebGLShader: gl.getShaderInfoLog() vertex
I need you to reproduce the issue and find a fix.
Transmission and roughness material properties need to be considered.
The fix can consist on detecting hardware not supporting MeshPhysicalMaterial and changing programmatically the material of all concerned objects in the scene so they can be displayed, even basically - graceful degradation - without causing an error.
Related categories:
Three.js