Improved PostProcessing System
This commit is contained in:
parent
0ab7f29b06
commit
e4e7db8dc0
10 changed files with 181 additions and 6 deletions
13
SMCode/SM2D/Light/light.frag
Normal file
13
SMCode/SM2D/Light/light.frag
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#version 330
|
||||
|
||||
in vec2 vTexture;
|
||||
|
||||
vec4 GetRenderColor();
|
||||
|
||||
uniform vec4 Ambient = vec4(1);
|
||||
|
||||
layout(location = 0) out vec4 color;
|
||||
|
||||
void main() {
|
||||
color = GetRenderColor() * Ambient;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue