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
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
1
2019
Basic Ray Marching Shader
Converted this ray marching for dummies-shader into unity. Shader Source:https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Shaders/2D/Special/RayMarching.shader
Recent posts
- 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)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
- UnityHub: Add support for custom project title (instead of folder name) or use ProductName
- Testing Unity MUSE AI
- QR Code Generator Online
Recent Comments
- [Asset Store] Mobile Paint *now free on
- Scorched Earth Terrain (wip) on
- UI Text TypeWriter Effect [Script] on
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- Bitmap2Mesh (release v3.0) on
- [Asset Store] Mobile Paint *now free on
- [Asset Store] Mobile Paint *now free on