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 2581ed9 commit 684cabbCopy full SHA for 684cabb
include/nbl/builtin/shader/loader/mtl/fragment_impl.glsl
@@ -74,7 +74,7 @@ vec4 nbl_sample_Ns(in vec2 uv, in mat2 dUV) { return texture(map_Ns, uv); }
74
vec4 nbl_sample_d(in vec2 uv, in mat2 dUV) { return texture(map_d, uv); }
75
#endif
76
#ifndef _NBL_bump_SAMPLE_FUNCTION_DEFINED_
77
-vec2 nbl_sample_bump(in vec2 uv, in mat2 dUV) { return texture(map_bump, uv).xy * 2.f - vec2(1.f); }
+vec2 nbl_sample_bump(in vec2 uv, in mat2 dUV) { return texture(map_bump, uv).xy; }
78
79
#endif //_NBL_TEXTURE_SAMPLE_FUNCTIONS_DEFINED_
80
0 commit comments