You are right, these lines of code are fully sufficient for shader to work in a manner I wanted:) As for changing of the outlines, I was only thinking about inconsistency of the pp-outlines.





.................
But, unfortunately, I have a strange problem occurring with the model when using WED versions higher then 7.50 (7.84). For some reason the outlines are changing colors when camera is changing the pan, going from black to red, green etc...

I don't need to use versions other then 7.50 for compiling the game but I would like to have a widescreen option which is possible only in higher versions:(

I have uploaded a small zip (4mb) with two mdl files, first fully textured with baked shadows & second mono-textured with modified toon shader applied. When running the second model there should be radical color changes when model is being rotated:(

First fully textured model with baked shadows...


Second mono-textured model with modified toon shader applied...


Outlines with changed colors...


If someone could find time to download this zip & maybe try to see how this could be solved I would be very grateful, it's really beyond what I can fix.

The download link is:
http://www.filefront.com/17854051/ToonFxTest.zip

Thanx in advance to everyone who will download & check out the zip:)


Last edited by Ganderoleg; 01/26/11 21:03.

>>Demos free3DModels Tutorials<<
>>>>>>> by Pavle Nikolic <<<<<<<