mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 09:04:38 +00:00
MacOS platform support.
This commit is contained in:
parent
57dfeb829a
commit
dd64004eaf
89 changed files with 1228 additions and 5098 deletions
|
|
@ -31,8 +31,6 @@ in vec4 mieColor;
|
|||
#define IN_mieColor mieColor
|
||||
in vec3 v3Direction;
|
||||
#define IN_v3Direction v3Direction
|
||||
in float zPosition;
|
||||
#define IN_zPosition zPosition
|
||||
in vec3 pos;
|
||||
#define IN_pos pos
|
||||
|
||||
|
|
@ -65,12 +63,6 @@ void main()
|
|||
float fac = dot( normalize( pos ), sunDir );
|
||||
fac = max( nightInterpAndExposure.y, pow( clamp( fac, 0.0, 1.0 ), 2 ) );
|
||||
OUT_col = mix( color, nightSkyColor, nightInterpAndExposure.y );
|
||||
|
||||
// Clip based on the camera-relative
|
||||
// z position of the vertex, passed through
|
||||
// from the vertex position.
|
||||
if(zPosition < 0.0)
|
||||
discard;
|
||||
|
||||
OUT_col.a = 1;
|
||||
|
||||
|
|
|
|||
|
|
@ -47,8 +47,6 @@ out vec4 mieColor;
|
|||
#define OUT_mieColor mieColor
|
||||
out vec3 v3Direction;
|
||||
#define OUT_v3Direction v3Direction
|
||||
out float zPosition;
|
||||
#define OUT_zPosition zPosition
|
||||
out vec3 pos;
|
||||
#define OUT_pos pos
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue