1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

fixed R3 shader

This commit is contained in:
Zeno Rogue 2019-10-22 10:52:30 +02:00
parent ed5a86a1b8
commit 0e3fc3a0f9

View File

@ -196,7 +196,7 @@ shared_ptr<glhr::GLprogram> write_shader(flagtype shader_flags) {
if(hyperbolic)
distfun = "acosh(t[3])", treset = true;
else if(euclid)
distfun = "length(t.xyz);", treset = true;
distfun = "length(t.xyz)", treset = true;
else {
if(spherephase & 4) coordinator += "t = -t;\n";
switch(spherephase & 3) {