Browse Source

Fix sampler type

Popov72 5 years ago
parent
commit
d78f4eb886
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Shaders/ShadersInclude/pbrFragmentSamplersDeclaration.fx

+ 2 - 2
src/Shaders/ShadersInclude/pbrFragmentSamplersDeclaration.fx

@@ -205,8 +205,8 @@
             #ifdef LODBASEDMICROSFURACE
             #ifdef LODBASEDMICROSFURACE
                 #define sampleRefractionLod(s, c, l) texture2DLodEXT(s, c, l)
                 #define sampleRefractionLod(s, c, l) texture2DLodEXT(s, c, l)
             #else
             #else
-                uniform samplerCube refractionSamplerLow;
-                uniform samplerCube refractionSamplerHigh;
+                uniform sampler2D refractionSamplerLow;
+                uniform sampler2D refractionSamplerHigh;
             #endif
             #endif
         #endif
         #endif
     #endif
     #endif