Browsing articles in "shaders"
Dec
22
2014

Custom Terrain Shader: Sharp Blending

Modified terrain shader for sharp blending. Tutorial: – Download terrain shader sources for your unity version: http://unity3d.com/unity/download/archive – Copy “DefaultResourcesExtra\Nature\Terrain\TerrBumpFirstPass.shader” into your project – Rename the “TerrBumpFirstPass.shader” into “”TerrBumpFirstPassCustom.shader” – Edit “TerrBumpFirstPassCustom.shader” – Find line: – Replace with: *So we get this shader under custom […]

Jul
15
2014

Unity indie: Soft Shadows (Directional Light)

Using Unity Indie, modified directional hard light shadows. Forum thread: – http://forum.unity3d.com/threads/free-directional-light-soft-shadow-unity-indie.257432/   How to: – Download builtin shader: http://unity3d.com/unity/download/archive – copied UnityCG, UnityShaderVariables, HLSLSupport, AutoLight to assets folder – renamed these as: UnityCG2, ​​UnityShaderVariables2, ​​HLSLSupport2​​ – created new shader file (that default diffuse) – […]

Feb
23
2014

Explosion Effect (shader)

Testing some big explosion effect with shader. Still missing most particle effects.. Info: – Vertex extrusion using noise texture & timer/distance.. – Explosion cloud + shockwave is from particle system Webplayer: http://unitycoder.com/upload/demos/ExplosionEffectShader/ Reference: Armageddon (explosions) video : http://youtu.be/Tq4o-B5vWYk?t=2m25s Shader source:  

Feb
20
2014

Beach Sand Water (shader)

Quick test for beach shader.. Inspiration from this topic: http://forum.unity3d.com/threads/229473-Wet-beach-texture Info: – Nothing much happening there, beach has moving mask to change color – Water plane has moving vertices and quite basic normal mapped transparent shader – Transparency glitches here & there.. (goes out of […]

Jan
18
2014

Shader Forge resources & shaders

Adding list of Shader Forge related tutorials / shaders here. (Main image is created using this UDK Metal tutorial, check it in metal webplayer) Get Shader Forge from AssetStore, its easy to use! (and works with unity free/indie also) https://www.assetstore.unity3d.com/#!/content/14147?aid=1101lGti UNITY SHADER FORGE RESOURCES (node […]

Jan
6
2014

Sprite RGB Split Shader Test

Tried to make RGB Split Shader (by modifying the default sprite shader) Features: – No render textures (so it works with unity free/indie) – Per object instead as post effect – Offset variables per channel Problems: – 3 shader passes – Red channel is currently […]

Feb
27
2013

Rusted Metal Shader From Blender

Converted this Blender rust material shader to Unity surface shader, looks ok.. Created the bumpmap in unity editor (copy rust texture, convert to normal map from grayscale), had problems trying to do it inside shader (from diffuse texture to o.Normal).. Progress: – Founded some info […]

Oct
25
2012

Radar Shader

Converted this shader to Unity. (again didnt came out the same as the original..but almost) Webplayer: http://unitycoder.com/upload/demos/radar_shader_unity/ Shader Source:

Feb
26
2012

Water Splash Screen Effect shader

Water Splash Screen Effect Distortion Shader (test). (With unity free, you cannot use render to texture, but you could probably do that with screenshot..(?) This example is using just a plane with photo as a texture, should try with the screenshot later.. Background texture: cgtextures […]

Feb
22
2012

X-Ray / CutOut Shader With Mouse

X-Ray (or kind of CutOut) Shader With Mouse (using mousecursor position inside shader, compared with worldPos distance) Interesting effect.. took a while to get transparency working with 2 sided surface shader, always had the problem that faces were drawn in wrong order (back side of […]

Pages:«123456»

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.