mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +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
|
|
@ -28,6 +28,8 @@ uniform vec2 blurDimension;
|
|||
|
||||
in vec2 tex0;
|
||||
|
||||
out vec4 OUT_col;
|
||||
|
||||
void main()
|
||||
{
|
||||
// Preshader
|
||||
|
|
@ -43,5 +45,5 @@ void main()
|
|||
accum += texture(diffuseMap0, BaseTexCoord + float(i) * SampleOffset);
|
||||
}
|
||||
accum /= blurSamples;
|
||||
OUT_FragColor0 = accum;
|
||||
OUT_col = accum;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue