mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
fixed R3 shader
This commit is contained in:
parent
ed5a86a1b8
commit
0e3fc3a0f9
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user