mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-21 08:57:39 +00:00
fixed R3 shader
This commit is contained in:
@@ -196,7 +196,7 @@ shared_ptr<glhr::GLprogram> write_shader(flagtype shader_flags) {
|
|||||||
if(hyperbolic)
|
if(hyperbolic)
|
||||||
distfun = "acosh(t[3])", treset = true;
|
distfun = "acosh(t[3])", treset = true;
|
||||||
else if(euclid)
|
else if(euclid)
|
||||||
distfun = "length(t.xyz);", treset = true;
|
distfun = "length(t.xyz)", treset = true;
|
||||||
else {
|
else {
|
||||||
if(spherephase & 4) coordinator += "t = -t;\n";
|
if(spherephase & 4) coordinator += "t = -t;\n";
|
||||||
switch(spherephase & 3) {
|
switch(spherephase & 3) {
|
||||||
|
Reference in New Issue
Block a user