21
2019
Modified Standard shader to start fading based on Camera Y distance
Needed this kind of effect for a small game, where:– objects below would be faded out– player can move up and down (fade should “follow”)– realtime lights should be supported basically like the old unity global fog for height, but that one doesn’t work with […]
22
2015
Increase Terrain Detail Draw Distance in Editor
Its quite annoying how the grass fades in editor (since 250 is the maximum view distance in Terrain settings), but you can force the draw distance higher with simple script whichs runs in editor References: http://docs.unity3d.com/ScriptReference/Terrain-detailObjectDistance.html http://docs.unity3d.com/ScriptReference/ExecuteInEditMode.html Sample code: *Note this runs with Update loop […]
20
2015
Rotating Sphere By The Moved Distance
How to rotate sphere based on the distance its moving. As in: http://docs.autodesk.com/3DSMAX/12/ENU/3ds%20Max%202010%20Tutorials/files/WS1a9193826455f5ff-3a29af00119afd28e95-4398.htm Source: *Angle formula solved by ‘Denamond‘ This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that […]
9
2012
Distance Blur Shader for Texture
Testing texture blurring in shader..using camera depth to determinate distance.
Recent posts
- [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
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
Recent Comments
- 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
- [Asset Store] Point Cloud Viewer & Tools on
- ffmpeg stream raw video into Unity Texture2D on