22
2023
Fake 3D Parallax Effect using Shader & (Pre-generated) Depth Map
Cool effect: http://depthy.stamina.pl/#/sample/mango Converted this few lines into unity shader:https://gist.github.com/bozzin/5895d97130e148e66b88ff4c92535b59 Finished shader (unlit, build in pipeline) + mouse position script:https://gist.github.com/unitycoder/696a07c9de34e6a8fd28dc7de2362501
26
2016
Unlit Fake Curved World Shader
Tried to get world position from depth texture, but it didn’t work.. then founded COMPUTE_DEPTH_01 instead, makes nice curve effect when applied to meshes (pushing the y vertices down based on depth).. although breaks a bit depending on camera rotation/position.. Shader source: https://github.com/UnityCommunity/UnityLibrary/blob/master/Shaders/Vertex/UnlitFakeCurved.shader without curve-shader: […]
6
2015
Custom shader Transparency & Batching issues
While updating this billboard shader https://github.com/unitycoder/DoomStyleBillboardTest , had couple strange shader issues: Problem#1: Overlapping transparent area clips other object behind it (see issue#6) This one was solved by adding “ZWrite Off” to the shader, apparently something to do how transparent objects get depth sorted..(?) http://docs.unity3d.com/Manual/SL-CullAndDepth.html […]
6
2012
Camera Shaders
yay..took few hours just to get this working: Render a whole camera view with one shader. It should be simple, but the documents wont give any examples: Camera.RenderWithShader Main image is showing vertex-depth-shader seen with camera (its modified version from one of these unity replacement […]
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