Main Menu

Shader

Started by pdufranc, November 09, 2005, 12:44:50

Previous topic - Next topic

pdufranc

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