mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-26 23:05:38 +00:00
cleanups for shadergen and the visibility feature
math fixes, feature inclusion removal. will still need to circle back on why the crosshatch.. isn't
This commit is contained in:
parent
328319b853
commit
21c17d0ed1
4 changed files with 11 additions and 27 deletions
|
|
@ -291,8 +291,8 @@ void fizzle(vec2 vpos, float visibility)
|
|||
// I'm sure there are many more patterns here to
|
||||
// discover for different effects.
|
||||
|
||||
mat2x2 m = mat2x2( vpos.x, vpos.y, 0.916, 0.350 );
|
||||
if( (visibility - fract( determinant( m ) )) < 0 ) //if(a < 0) discard;
|
||||
mat2x2 m = mat2x2( vpos.x, 0.916, vpos.y, 0.350 );
|
||||
if( (visibility - fract( determinant( m ) )) < 0 )
|
||||
discard;
|
||||
}
|
||||
#endif //TORQUE_PIXEL_SHADER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue