From 8f701460aaa75bf9d597733f3d129d33818d410e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Re=CC=81my=20Bouquet?= Date: Sun, 14 Aug 2016 08:47:57 +0200 Subject: [PATCH] used enable instead of require for the textureCubeLod extension --- .../Common/MatDefs/ShaderNodes/Environment/envMapping100.frag | 2 +- jme3-core/src/main/resources/Common/ShaderLib/PBR.glsllib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 cf2c1e49a..9d40ec523 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 +#extension GL_ARB_shader_texture_lod : enable 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 8c57b36cc..75387bb05 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 +#extension GL_ARB_shader_texture_lod : enable #ifndef PI #define PI 3.14159265358979323846264 #endif