How to create textures for glshader

Started by sushobhit, May 23, 2014, 01:23:01 PM

Previous topic - Next topic

sushobhit

hi egon ,

I would like to learn the shader and while going through the example provided with jpct-ae(hello shader) i came across 3 files one the real image , second normal (bluish version of the same image) and third (a greyish version). An you combine these 3 to make the shader.

?? So if i have a image , how can I get the bluish one and the greyish one so that the texture could be applied?


sushobhit

also what is the programming that goes in the other two glsl files ??? plz hlp

EgonOlsen

I created these textures by using some command line tool as described here: http://www.jpct.net/forum2/index.php?topic=3941.0

About your second question: Any GLSL tutorial that covers OpenGL ES will give you more insight on this topic than i can possibly provide.