used enable instead of require for the textureCubeLod extension

define_list_fix
Rémy Bouquet 9 years ago
parent aeb4daf04f
commit 8f701460aa
  1. 2
      jme3-core/src/main/resources/Common/MatDefs/ShaderNodes/Environment/envMapping100.frag
  2. 2
      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
void main(){ void main(){
//@input vec3 refVec the reflection vector //@input vec3 refVec the reflection vector
//@input samplerCube cubeMap the cube map //@input samplerCube cubeMap the cube map

@ -1,4 +1,4 @@
#extension GL_ARB_shader_texture_lod : require #extension GL_ARB_shader_texture_lod : enable
#ifndef PI #ifndef PI
#define PI 3.14159265358979323846264 #define PI 3.14159265358979323846264
#endif #endif

Loading…
Cancel
Save