mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-16 19:05:02 -04:00
world border: set finFragmentPosition
This commit is contained in:
parent
7fa78ade00
commit
7883de2123
@ -43,6 +43,7 @@ void main() {
|
|||||||
position.x += uCenter.x;
|
position.x += uCenter.x;
|
||||||
position.z += uCenter.y;
|
position.z += uCenter.y;
|
||||||
gl_Position = uViewProjectionMatrix * vec4(position, 1.0f);
|
gl_Position = uViewProjectionMatrix * vec4(position, 1.0f);
|
||||||
|
finFragmentPosition = position;
|
||||||
|
|
||||||
finTextureIndex = uIndexLayer >> 28u;
|
finTextureIndex = uIndexLayer >> 28u;
|
||||||
vec2 uv = CONST_UV[floatBitsToUint(uvIndex)];
|
vec2 uv = CONST_UV[floatBitsToUint(uvIndex)];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user