Python/GLSL cell-shading script

Python/GLSL cell-shading script

Art Type: 
License(s): 
Collections: 
Favorites: 
3
Share Icons: 
Preview: 
Preview

Hello,

This .blend contains a outliner script that I wrote inspired by BsDev's blend on BlendSwap but I tried to improve it.

This python script use a Filter 2D actuator to active a GLSL shader that is wrote on a string. The python part include parameters on the string. Parametrers are tickness and intencity of the line. Tickness is calculate with the current window size because the GLSL function used take percent of the current window size as argument.

EDIT 10 feb 2014 : New cleaner outline method. Now the outline is of the given color when the pixel color difference is greater than a given value. It remove transparency and darkening of faces and edges.

 EDIT 26 apr 2014 : I've removed the substitue function to use the % operator that is built-in and I've discoverd recently.

File(s): 
cell_shading.blend cell_shading.blend 661.9 Kb [204 download(s)]