cel shader

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
ProjectIRR
Posts: 21
Joined: Mon Oct 26, 2009 3:21 am

cel shader

Post 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?
B@z
Posts: 876
Joined: Thu Jan 31, 2008 5:05 pm
Location: Hungary

Post 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)
Image
Image
ProjectIRR
Posts: 21
Joined: Mon Oct 26, 2009 3:21 am

Post 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?
B@z
Posts: 876
Joined: Thu Jan 31, 2008 5:05 pm
Location: Hungary

Post 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 :( )
Image
Image
someguy99
Posts: 38
Joined: Sun Oct 11, 2009 11:20 am

Post 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
Viz_Fuerte
Posts: 91
Joined: Sun Oct 19, 2008 5:29 pm
Location: Valencia (Spain)
Contact:

Post by Viz_Fuerte »

Thanks for putting it in the "wiki". :D

I forgot. :lol:
Post Reply