Browsing articles tagged with " lighting"
Oct
19
2023

2 Sided Lighting for Sprite Diffuse Shader

Interesting question athttps://forum.unity.com/threads/making-normal-maps-work-on-both-sides-of-a-2d-sprite-in-3d-space.1507538/ Made quick test with BiRP, modified sprite surface shader, with custom lighting (added “abs” into dot normal).. Source:https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Shaders/2D/Sprites/Diffuse%20(2%20Sided%20Light).shader#L48

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.