Initial commit
This commit is contained in:
13
engines/hpl1/engine/impl/shaders/hpl1_Water_Diffuse.fragment
Normal file
13
engines/hpl1/engine/impl/shaders/hpl1_Water_Diffuse.fragment
Normal file
@@ -0,0 +1,13 @@
|
||||
// Water_Diffuse.fragment
|
||||
|
||||
in vec3 vColor;
|
||||
in vec2 vUv;
|
||||
|
||||
OUTPUT
|
||||
|
||||
uniform sampler2D tex0; //diffuse
|
||||
|
||||
void main() {
|
||||
outColor = texture(tex0, vUv);
|
||||
outColor.xyz *= vColor;
|
||||
}
|
||||
Reference in New Issue
Block a user