Page 1 of 1

HLMS_TOON

Posted: Fri Feb 23, 2024 10:01 pm
by kariem2k

Hello,

I was trying to find the HLMS for toon shading but I could not find it in the source tree. Is it deprecated?

Thanks


Re: HLMS_TOON

Posted: Tue Feb 27, 2024 4:47 pm
by dark_sylinc

Hi!

It was reserved / planned but it never ended up being implemented.


Re: HLMS_TOON

Posted: Tue Feb 27, 2024 5:07 pm
by kariem2k

Thank you very much. But I think I still can get basic toon shading by just modifying the PBS shaders.


Re: HLMS_TOON

Posted: Sun Mar 10, 2024 12:50 am
by jwwalker

I have a kind of toon shader implemented as a BRDF in the jw/work branch of my fork of Ogre. I think if you search for the string "JWToon" you should find all my changes. One would apply this rendering style to an object like datablock->setBrdf( Ogre::PbsBrdf::JWToon ) where datablock is a pointer to Ogre::HlmsPbsDatablock.


Re: HLMS_TOON

Posted: Tue Mar 12, 2024 9:53 pm
by kariem2k

Wow, thank you very much. I will give it a try.