diff --git a/jme3-core/src/main/resources/Common/MatDefs/Light/PBRLighting.j3md b/jme3-core/src/main/resources/Common/MatDefs/Light/PBRLighting.j3md index dd76c09fe..586e8f5e7 100644 --- a/jme3-core/src/main/resources/Common/MatDefs/Light/PBRLighting.j3md +++ b/jme3-core/src/main/resources/Common/MatDefs/Light/PBRLighting.j3md @@ -109,8 +109,8 @@ MaterialDef PBR Lighting { Technique { LightMode SinglePassAndImageBased - VertexShader GLSL100: Common/MatDefs/Light/PBRLighting.vert - FragmentShader GLSL100: Common/MatDefs/Light/PBRLighting.frag + VertexShader GLSL110: Common/MatDefs/Light/PBRLighting.vert + FragmentShader GLSL110: Common/MatDefs/Light/PBRLighting.frag WorldParameters { WorldViewProjectionMatrix diff --git a/jme3-core/src/main/resources/Common/MatDefs/ShaderNodes/Environment/envMapping100.frag b/jme3-core/src/main/resources/Common/MatDefs/ShaderNodes/Environment/envMapping100.frag index 302461a5c..cf2c1e49a 100644 --- a/jme3-core/src/main/resources/Common/MatDefs/ShaderNodes/Environment/envMapping100.frag +++ b/jme3-core/src/main/resources/Common/MatDefs/ShaderNodes/Environment/envMapping100.frag @@ -1,4 +1,4 @@ - +#extension GL_ARB_shader_texture_lod : require void main(){ //@input vec3 refVec the reflection vector //@input samplerCube cubeMap the cube map diff --git a/jme3-core/src/main/resources/Common/ShaderLib/PBR.glsllib b/jme3-core/src/main/resources/Common/ShaderLib/PBR.glsllib index bad4f630a..8c57b36cc 100644 --- a/jme3-core/src/main/resources/Common/ShaderLib/PBR.glsllib +++ b/jme3-core/src/main/resources/Common/ShaderLib/PBR.glsllib @@ -1,4 +1,4 @@ - +#extension GL_ARB_shader_texture_lod : require #ifndef PI #define PI 3.14159265358979323846264 #endif