dungeon_crawler
annotate prototype/sdr/multi0.p.glsl @ 76:f379c00eb07f
added samurai's texel center fix for the color grading palette lookup
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 23 Oct 2012 14:57:08 +0300 |
parents | |
children |
rev | line source |
---|---|
nuclear@60 | 1 /* mutlipass renderer shader 0: RGB: position, A: shininess */ |
nuclear@60 | 2 |
nuclear@60 | 3 varying vec3 pos, norm, tang; |
nuclear@60 | 4 |
nuclear@60 | 5 void main() |
nuclear@60 | 6 { |
nuclear@60 | 7 gl_FragColor = vec4(pos, gl_FrontMaterial.shininess); |
nuclear@60 | 8 } |