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 89faafc commit 371394eCopy full SHA for 371394e
src/scene/shader-lib/glsl/chunks/standard/frag/stdDeclaration.js
@@ -41,7 +41,7 @@ export default /* glsl */`
41
// parallax
42
#ifdef STD_HEIGHT_MAP
43
vec2 dUvOffset;
44
- #ifdef STD_DIFFUSE_TEXTURE_ALLOCATE
+ #ifdef STD_HEIGHT_TEXTURE_ALLOCATE
45
uniform sampler2D texture_heightMap;
46
#endif
47
src/scene/shader-lib/wgsl/chunks/standard/frag/stdDeclaration.js
@@ -43,7 +43,7 @@ export default /* wgsl */`
var<private> dUvOffset: vec2f;
var texture_heightMap : texture_2d<f32>;
48
var texture_heightMapSampler : sampler;
49
0 commit comments