mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Clean GLSL fragment shader out.
This commit is contained in:
parent
87f34e3c4f
commit
ed0febea39
135 changed files with 451 additions and 239 deletions
|
|
@ -30,8 +30,10 @@ in vec2 texCoord;
|
|||
|
||||
uniform sampler2D diffuseMap ;
|
||||
|
||||
out vec4 OUT_col;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 col = texture( diffuseMap, IN_texCoord );
|
||||
OUT_FragColor0 = hdrEncode( col );
|
||||
OUT_col = hdrEncode( col );
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue