We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16747e8 commit bbe74f5Copy full SHA for bbe74f5
src/core/shader.js
@@ -55,7 +55,7 @@ Shader.prototype = {
55
this.material = new (this.raw ? THREE.RawShaderMaterial : THREE.ShaderMaterial)({
56
// attributes: this.attributes,
57
uniforms: this.uniforms,
58
- glslVersion: this.raw ? THREE.GLSL3 : null,
+ glslVersion: this.raw || this.glsl3 ? THREE.GLSL3 : null,
59
vertexShader: this.vertexShader,
60
fragmentShader: this.fragmentShader
61
});
0 commit comments