Work on distortion shader
This commit is contained in:
@@ -34,7 +34,7 @@ vec4 shiftNear(vec4 pos)
|
||||
return (sp.z > 100 ? projNear(pos) : sp);
|
||||
}
|
||||
// Output 6 vertices for 4 data inputs
|
||||
int ks[6] = // Inputdata: n1a Shadow:
|
||||
const int ks[6] = // Inputdata: n1a Shadow:
|
||||
{0,1,2 // 2--3 / p2--p3
|
||||
,2,1,3 // | | p0---p1 / |
|
||||
}; // 0--1 / / |
|
||||
|
||||
Reference in New Issue
Block a user