Browsing articles in "shaders"
Nov
25
2015

Opaque Sprite Shader

(screenshot of modified shader properties in debug view mode) Modified built-in sprite shader so that its opaque, no color tint, and pixel snap is always on. Just to test if there are any performance benefits to use them for opaque sprite tiles, at least the […]

Apr
6
2015

Doom Style Billboard Shader

Testing Doom style billboard shader, where you can look sprite from different angles, still not completely finished but enough for testing.. * Note: I have no idea how the doom billboards work, just looking for similar style Related forum post: http://forum.unity3d.com/threads/relative-position-for-changing-2d-graphics-in-3d-environment.307086/ WebGL player: *coming later* […]

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:

Pages:«1234»

@unitycoder_com

Subscribe to Blog via Email

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