source:
data/branches/Shader_HS18/programs/Example/GLSLES/hdrFp.glsles
@
12091
| Last change on this file since 12091 was 12091, checked in by wiesep, 7 years ago | |
|---|---|
| File size: 232 bytes | |
| Line | |
|---|---|
| 1 | #version 100 |
| 2 | |
| 3 | precision mediump int; |
| 4 | precision mediump float; |
| 5 | |
| 6 | uniform sampler2D tex; |
| 7 | varying vec4 ambientUV; |
| 8 | |
| 9 | void main () |
| 10 | { |
| 11 | gl_FragColor = vec4(texture2D(tex, ambientUV.xy)); |
| 12 | |
| 13 | // Blow out the light a bit |
| 14 | gl_FragColor *= 1.7; |
| 15 | } |
Note: See TracBrowser
for help on using the repository browser.










