Python Forum

Full Version: cel shading,toon shader and glowing object ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
1)How do i cel shade/toon shade an object in python with pyopengl?
2)How do i make a object glow in python with pyopengl?
Rendering effects like that have nothing to do with python (fyi, should help with your google-fu in the future).

You should get comfortable with shaders, here's an example for cel shading: http://www.lighthouse3d.com/tutorials/gl...ersion-ii/
And here's an example of how to compile a shader and use it in python: https://www.pygame.org/wiki/GLSLExample