Mico27, I like your way to get the cartoon style edge and was experimenting a lot. Thanks for the help already!
But I got the following problem:
when I take your example and do the following:
- add new UVSphere (Segments: 32, Rings: 32, Radius: 1) next to your Sphere
- add Sphere.001 to ShaderObjects in ToonShader2.py
- change “shader.setUniform1f(‘silhouetteThreshold’,0.2)” to “shader.setUniform1f(‘silhouetteThreshold’,0.5)”
then my edge looks awful… But yours looks so nice and smooth!
What did you do different to your Sphere??
here is the resulting blend-file: http://www.savefile.com/files/1064575