mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix typo in minimap bumpmapping shader (#14280)
This commit is contained in:
parent
bec080be8d
commit
e9233bc169
1 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@ void main (void)
|
||||||
//texture sampling rate
|
//texture sampling rate
|
||||||
const float step = 1.0 / 256.0;
|
const float step = 1.0 / 256.0;
|
||||||
float tl = texture2D(normalTexture, vec2(uv.x - step, uv.y + step)).r;
|
float tl = texture2D(normalTexture, vec2(uv.x - step, uv.y + step)).r;
|
||||||
float t = texture2D(normalTexture, vec2(uv.x - step, uv.y - step)).r;
|
float t = texture2D(normalTexture, vec2(uv.x, uv.y + step)).r;
|
||||||
float tr = texture2D(normalTexture, vec2(uv.x + step, uv.y + step)).r;
|
float tr = texture2D(normalTexture, vec2(uv.x + step, uv.y + step)).r;
|
||||||
float r = texture2D(normalTexture, vec2(uv.x + step, uv.y )).r;
|
float r = texture2D(normalTexture, vec2(uv.x + step, uv.y )).r;
|
||||||
float br = texture2D(normalTexture, vec2(uv.x + step, uv.y - step)).r;
|
float br = texture2D(normalTexture, vec2(uv.x + step, uv.y - step)).r;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue