subj. How to create cartoon render without shaders(on OpenGL && D3D)?
thx.
Cartoon render
This ones easy, just get an exact replica of the model, make it a very tiny bit bigger, flip the normals and make it have a solid black texture. This will give it a black outline and make it look cartoonish just remember to always place the bigger black version in the same place as and animate it the same as the original one.
Cheers
Cheers
The best way to my knowledge right now, aside from shaders, is to have a copy of the mesh, expanded slightly along the polygon normals, flipped, and colored black; this, as stated before, will accomplish the black outlines.
To get shading you will either need to use a spherical environment map to fake it. Basicly, create a texture which is white for the top two thirds and grey in the bottom third, load this image as a spherical environment map with "multiply" blending, apply it to your model as the second texture layer, and set the model to fullbright.
I have yet to use this method within Irrlicht, as my current project does not call for it; though when using Blitz3D it worked just fine with splended results for not being shader driven. Though I see no reason at all as why this would not work within Irrlicht; so give it a try an' see how it goes for you
To get shading you will either need to use a spherical environment map to fake it. Basicly, create a texture which is white for the top two thirds and grey in the bottom third, load this image as a spherical environment map with "multiply" blending, apply it to your model as the second texture layer, and set the model to fullbright.
I have yet to use this method within Irrlicht, as my current project does not call for it; though when using Blitz3D it worked just fine with splended results for not being shader driven. Though I see no reason at all as why this would not work within Irrlicht; so give it a try an' see how it goes for you