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
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 […]
Recent posts
- MotionVector Effect: Object “disappears” when paused
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
Recent Comments
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on