www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: sushobhit on May 23, 2014, 01:23:01 pm
-
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?
-
also what is the programming that goes in the other two glsl files ??? plz hlp
-
I created these textures by using some command line tool as described here: http://www.jpct.net/forum2/index.php?topic=3941.0 (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.