Last change
on this file since 12091 was
12091,
checked in by wiesep, 5 years ago
|
Updated programs and adjusted Material to work with GLSL>150
|
File size:
261 bytes
|
Line | |
---|
1 | #version 100 |
---|
2 | |
---|
3 | precision mediump int; |
---|
4 | precision mediump float; |
---|
5 | |
---|
6 | uniform sampler2D texMap; |
---|
7 | |
---|
8 | varying vec4 colour; |
---|
9 | varying vec4 uv; |
---|
10 | |
---|
11 | /* |
---|
12 | Basic fragment program using texture and diffuse colour. |
---|
13 | */ |
---|
14 | void main() |
---|
15 | { |
---|
16 | gl_FragColor = texture2D(texMap, uv.xy) * colour; |
---|
17 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.