LWJGL Forum

Programming => OpenGL => Topic started by: pdufranc on November 09, 2005, 12:44:50

Title: Shader
Post by: pdufranc on November 09, 2005, 12:44:50
I seek a sample with  shader.
I give data float to the shader with a pallet of color, and
it calculates a texture according to a law

the law is :
min = min(data)
max = max(data)
stepColor = max-min/nbColor
(nbColor : number color )

somebody can help me
Thank you