Page 1 of 1

cel shader

Posted: Thu Oct 29, 2009 11:33 pm
by ProjectIRR
I'm looking for the best cell shader there is. I think I'd like to stick with OpenGL (GLSLor CG is it?) because there cross platform. Still, my goal is the best shader, I saw
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=18281
and
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=18400

The first one looks great, the second looks ugly, but that might just be the model. Has anyone had any experience with these and can tell which one is better? I'd really love to use a nice one, in the second GLSL post someone mentions it doesn't have features like molecularity. Is there one that does?

Posted: Fri Oct 30, 2009 12:51 am
by B@z
im using the first one and loving that :3
but it needed a lot adjustments. for example that reflection (the white thing) is too big for human models, kinda looked like iron man lol
and was too bright. but after adjusting things, and playing around with the shader i got a cool result, what i like :3

and its not too hard to convert HLSL code to GLSL. i did many times GLSL to HLSL :3 you just need a little knowledge (of course it become harder with more complex shader)

Posted: Fri Oct 30, 2009 2:13 am
by ProjectIRR
The first one looks best, but I think I'd have to learn both shader languages in order to port or rewrite it, and I'm busy with the engine. Did you port it to GLSL (openGL)? If so I'd love to have it :)

I saw a post about using the ogre cel shading shader from the demos, you just have to turn one thing off (it's mentioned in the last post in the first link on my first post). Has anyone tried using the ogre shader?

Posted: Fri Oct 30, 2009 12:23 pm
by B@z
nope, i use HLSL. and the outline effect wont work with lowpoly models, so probably u should turn that off :3

and maybe u can ask somebody to convert the code (i dont know glsl so i cant :( )

Posted: Fri Oct 30, 2009 2:19 pm
by someguy99
You know GLSL toon shader with texture support has been added to the wiki recently:
http://irrlicht3d.org/wiki/index.php?n= ... yVizFuerte

Posted: Fri Oct 30, 2009 9:04 pm
by Viz_Fuerte
Thanks for putting it in the "wiki". :D

I forgot. :lol: