Python/GLSL cell-shading script

  • June 29, 2013
  • 423 Downloads
  • 1 Like
  • Blender 2.6x
  • Render: Blender Internal
  • Creator: WIP
  • License: CC-BY
You must be logged in to download.

Description:

Hello,

I downloaded the BsDev's .blend and I found some default.

In this .blend I use his idea to create a new cell-shading script without them.

This script use the tree color layers (red, green and blue) to better detect objects superposition. It's include in a Python script to use the current window size without weight the GPU execution.

EDIT 10 feb 2014 : I update the file with a new code. I change the outline method to a cleaner method. More you can now choose the outline color. The new method make given color pixel when the difference between current pixel color and the neighbour pixel color is greter than a given value and do nothing else. This method remove outline transprency (it was not beautiful) and remove darkening of faces and edges.

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

EDIT 12 june 2014 : I've found some mistakes and some possibilities for improvment so I update. I also added a little different shader that applie outline on texture too.

Comments:

  • OstrichFarmer87 profile picture
    OstrichFarmer87

    Ooh, nice :) thanks

    Written March 30, 2014
  • lordrockit profile picture
    lordrockit

    wonderful just amazing I love it. this works amazingly as a dynamic bge cel shader thank you

    Written July 28, 2014
  • N3stor profile picture
    N3stor

    Excellent, works better than another script I was using which didn't render under linux (Probably an OpenGl/Direct3d thing) this one does!

    Written March 10, 2016
  • RockyMadio profile picture
    RockyMadio

    Hi ! The cellshader looks really nice. But it doesnt put lines on everything. Like if 2 objects overlap on each other, the above one will not be lined. Could you please fix it?

    Written April 23, 2016
  • etghnbsgxdcgb profile picture
    etghnbsgxdcgb

    Absolutely loving this post! It’s great to see such creativity shared with the community. The way you highlighted the essence of the topic really resonated with me. I think it’s important to keep supporting each other through our journeys, just like you’ve done here. If anyone hasn't checked out the previous posts, I highly recommend searching for them using 토토 노하우. By the way, the insights you provided could really inspire someone looking to learn more about this subject. Let's keep the conversation going by sharing more ideas and experiences! If you’re interested, you can find more related content at 토토 노하우. I appreciate everyone who contributes to this discussion and encourages others to join in as well. Sharing knowledge is key! And for anyone wanting to explore deeper, there are some interesting resources available at 토토 노하우. Overall, this is a fantastic effort, and I hope to see more like this in the future. Don’t forget to check out 토토 노하우 for updates! Keep the amazing content coming! 토토 노하우

    Written April 21, 2025
  • kuehekkeheuk profile picture
    kuehekkeheuk

    What an interesting post! I really appreciate the insights shared here about 먹튀사이트 흑룡 the topic. It’s fascinating to see how different perspectives can open up discussions. I especially loved the section on 먹튀사이트 흑룡 innovation; it reminds me of similar trends happening in 먹튀사이트 흑룡 other industries. Your use of examples was particularly effective, making complex ideas more relatable, especially regarding 먹튀사이트 흑룡 sustainability. I think engaging with the community will definitely bring about more 먹튀사이트 흑룡 fruitful conversations. The inclusion of 먹튀사이트 흑룡 recent data adds a lot of weight to your arguments. Let’s continue exploring these themes further! Looking forward to more posts that dive into 먹튀사이트 흑룡 these subjects. Keep up the great work!

    Written April 22, 2025