Quantcast
Channel: shaders – Unity Coding – Unity3D
Browsing latest articles
Browse All 38 View Live

Image may be NSFW.
Clik here to view.

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 Raymarching shader...

View Article



Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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 Screenshot...

View Article

Image may be NSFW.
Clik here to view.

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 Note: Your mesh should be properly UV mapped to be able to fill from 0...

View Article

Image may be NSFW.
Clik here to view.

Shader: Color Cycling

Color Cycling Shader test, because. Shader Source:https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Shaders/2D/Effects/ColorCycle.shader Deluxe Paint Effect 9000 Gradient used Use...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

Boat Attack URP Water: Add Underwater surface flip

Just modify 2 lines from the scripts and you get visible waterplane when going below surface. The idea is to check camera Y position, if below 0, flip normal and flip matrix for mesh. Boat Attack...

View Article

Shader Effects Test

Inspired from https://twitter.com/chiba_akihito/status/1438088953878302725 Part #1 (Project sources) Part #2 (source not available)

View Article


Draw New Unity Logo using Surface Shader (+Default Cube)

.gist table { margin-bottom: 0; } 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...

View Article


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)...

View Article
Browsing latest articles
Browse All 38 View Live




Latest Images