mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-19 13:43:04 +00:00
ray:: fixed mirrors in intra::in
This commit is contained in:
parent
09b4191758
commit
eb58d78555
@ -958,7 +958,8 @@ void raygen::apply_reflect() {
|
|||||||
" tangent = " + getM("uMirrorShift+walloffset+which") + " * tangent;\n"
|
" tangent = " + getM("uMirrorShift+walloffset+which") + " * tangent;\n"
|
||||||
" continue;\n"
|
" continue;\n"
|
||||||
" }\n";
|
" }\n";
|
||||||
fsh += "uniform int uMirrorShift;\n";
|
if(fsh.find("uMirrorShift") == string::npos)
|
||||||
|
fsh += "uniform int uMirrorShift;\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user