Browsing articles tagged with " 2 sided"
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

Feb
22
2012

X-Ray / CutOut Shader With Mouse

X-Ray (or kind of CutOut) Shader With Mouse (using mousecursor position inside shader, compared with worldPos distance) Interesting effect.. took a while to get transparency working with 2 sided surface shader, always had the problem that faces were drawn in wrong order (back side of […]

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.