HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: Toon shader? How?  (Read 985 times)


  • World Owners
  • ****
  • Posts: 28
    • View Profile
Toon shader? How?
« on: Mar 28, 14, 09:21:56 AM »

Ok I know this has been asked before and I've been pointed to the social sim reference before.
But that's not the type of toonshader I'm looking for.  I'm not looking for:

I want an actual toon shader, like this, something bright and vivid. And the shadows aren't a soft gradient they are solid.

I followed the instructions for adding a custom shading, and I made a .fx file and putting it into the custom shader, but I get back some errors. Anyone can help me?


  • HeroEngine
  • *****
  • Posts: 530
    • View Profile
    • HeroEngine
Re: Toon shader? How?
« Reply #1 on: Mar 28, 14, 10:48:34 AM »

If you want to modify the whole world, just modify the existing shaders.

To make shadows hard, modify incllighting.fx so that the shadow calculations are no longer soft (LookupShadow30 and LookupShadowHM30).

While you may need to modify lightpermutations.fx to change how lighting works, I bet that it's mostly how the textures and mesh are built

herb marselas
graphics guy