mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
ray:: fixed getters built with wall_via_texture
This commit is contained in:
parent
10bb713422
commit
2c59bb3004
@ -373,9 +373,11 @@ void enable_raycaster() {
|
|||||||
"uniform mediump mat4 uM[" + its(gms_limit) + "];\n";
|
"uniform mediump mat4 uM[" + its(gms_limit) + "];\n";
|
||||||
|
|
||||||
#ifdef GLES_ONLY
|
#ifdef GLES_ONLY
|
||||||
fsh += build_getter("mediump vec4", "uWallX", irays);
|
if(!wall_via_texture) {
|
||||||
fsh += build_getter("mediump vec4", "uWallY", irays);
|
fsh += build_getter("mediump vec4", "uWallX", irays);
|
||||||
fsh += build_getter("mediump int", "uWallstart", deg+1);
|
fsh += build_getter("mediump vec4", "uWallY", irays);
|
||||||
|
fsh += build_getter("mediump int", "uWallstart", deg+1);
|
||||||
|
}
|
||||||
if(!m_via_texture)
|
if(!m_via_texture)
|
||||||
fsh += build_getter("mediump mat4", "uM", gms_limit);
|
fsh += build_getter("mediump mat4", "uM", gms_limit);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user