mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
fixup: Panini is available in any PERS3 (including rug, excluding box)
This commit is contained in:
parent
54cb73e0fd
commit
73cc3c549f
@ -350,7 +350,7 @@ shared_ptr<glhr::GLprogram> write_shader(flagtype shader_flags) {
|
||||
if(shader_flags & GF_LEVELS) vmain += "vPos = t;\n";
|
||||
if(treset) vmain += "t[3] = 1.0;\n";
|
||||
|
||||
if(WDIM == 3 && panini_alpha) {
|
||||
if(shader_flags & SF_PERS3) {
|
||||
vmain += "t = uPP * t;", vsh += "uniform mediump mat4 uPP;";
|
||||
/* panini */
|
||||
vmain += panini_shader();
|
||||
|
Loading…
Reference in New Issue
Block a user