Patrefans
pucklovesgames from patreon
pucklovesgames patreon

Toon Shader tweak - Saturated edge + Rim Wrap - FILES

🕑 Added 2019-07-30 03:15:16 +0000 UTC
Toon Shader tweak - Saturated edge + Rim Wrap - FILES

Comments

Puck Loves Games

Ah looks like I've included a shader function from ASE Community Extras in there. Sorry about that. You can download it from https://github.com/DMeville/AmplifyShaderCommunityExtras Specifically, grab the HueShift.asset from https://github.com/DMeville/AmplifyShaderCommunityExtras/tree/master/Assets/ASECommunityExtras/ShaderFunctions/HueShift and include it somewhere in your project.

When I open the ToonRimLight.shader in Amplify editor I get an error saying "Missing HueShift shader function on project folder". Am I missing something?

Puck Loves Games

As far as I'm aware, I don't think you can access the light direction in a deferred only shader. One workaround *might* be that you could pass the primary light direction vector in with a script, via Shader.SetGlobalVector(lightTransform.forward), but it's not something I've tried before personally.

Strook

a bit of a general question but : Can you access light direction in a deferred shader ? Or only in forward ?


More Creators