11
2024
MotionVector Effect: Object “disappears” when paused
Tried to make similar effect like this:https://x.com/80Level/status/1866460357566370049 Looks ok, took some effort to find motionvector info.. Source: (shader and blit script)https://gist.github.com/unitycoder/2b39d009505895169ef0fd34fe9b3aa2 Resources:– Noise texture generator: https://tools.unitycoder.com/RandomNoiseTextureGenerator/– 512×512 noise texture: https://github.com/unitycoder/GraphicsAndTexturesThatYouAlwaysNeed/blob/master/Noise/RandomGrayscaleNoise512x512.png Making of:
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
19
2021
Old School Scrolling Text with Shaders, RenderTexture
Tried to make scrolling text using shaders and text mesh, video below (results at 59 mins -> ) Shader Sources:(one for text mesh, one for UI RawImage that displays camera view as rendertexture)
9
2021
Shader Effects Test
Inspired from https://twitter.com/chiba_akihito/status/1438088953878302725 Part #1 (Project sources) Part #2 (source not available)
4
2020
LineRenderer with Outline Shader
Tried using sprite outline shader with LineRenderer, works surprisingly well References:Sprite shader source: https://forum.unity.com/threads/help-to-find-an-asset-solution.755273/#post-5246960 (2nd shader in that post)Forum topic: https://forum.unity.com/threads/achieve-a-stroke-transparent-effect-with-the-line-renderer.999682/
18
2020
Shader: Color Cycling
Color Cycling Shader test, because. Shader Source:https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Shaders/2D/Effects/ColorCycle.shader How it works?Gray color value is used to pick color from the gradient, if gray texture pixel is 0.5, then you get that turquoise color from gradient texture.
13
2020
Shader: Scrolling Texture With Fill Amount (line renderer)
Quick test shader for this thread https://forum.unity.com/threads/smooth-filling-of-the-2d-pipe-with-texture.845848/#post-5584480 Shader source:https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Shaders/2D/Patterns/ScrollingFill.shader Sample fbx file (used in screenshot)https://github.com/unitycoder/BlogUploads/blob/master/models/lineuv.FBX
5
2020
Shader: Drawing Circles Pattern
Drawing Pattern of Circles in shader. (test for this forum topic) Shader:https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Shaders/2D/Patterns/CirclesPattern.shader References:– Drawing Shapes : https://thebookofshaders.com/07/– Drawing Patterns : https://thebookofshaders.com/09/
1
2020
Waves Shader
Tried to create similar waves in shader as this tweet: https://twitter.com/akivaw/status/1226681850564956160 Shader source:https://gist.github.com/unitycoder/7b501f5d6af03dbabd48c16c08767fe3*2 pass shader to draw underwater slightly differently
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