Small refactoring
This commit is contained in:
parent
62772060f9
commit
e330b66981
2 changed files with 8 additions and 9 deletions
|
@ -7,5 +7,5 @@ varying vec2 intensity;
|
|||
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = vec4(vec3(intensity.y, intensity.y, intensity.y) + uniform_color.rgb * intensity.x, uniform_color.a);
|
||||
gl_FragColor = vec4(vec3(intensity.y) + uniform_color.rgb * intensity.x, uniform_color.a);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue