source:
data/branches/Shader_HS18/programs/GLSL150/GrassAmbientFp.glsl
@
12373
Last change on this file since 12373 was 12115, checked in by wiesep, 6 years ago | |
---|---|
File size: 235 bytes |
Line | |
---|---|
1 | #version 150 |
2 | |
3 | uniform sampler2D diffuseMap; |
4 | |
5 | in vec4 oUv0; |
6 | in vec4 oColour; |
7 | |
8 | out vec4 fragColour; |
9 | |
10 | /// grass_vp ambient |
11 | void main() |
12 | { |
13 | vec4 texColor = texture(diffuseMap, oUv0.xy); |
14 | fragColour = vec4(oColour.rgb, texColor.a); |
15 | } |
Note: See TracBrowser
for help on using the repository browser.