28
2014
Ray-traced Fake Soft Shadows (Shader)
Mooore fake shadows testing! (based on direct3D shaders) Info: – Works with unity indie/free! – Just a shader with sphere intersect function (so it basically only works with spheres..) – Point light & sphere positions are sent to the shader – Each sphere requires invidual […]
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 […]
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 […]
7
2013
Gradient Bar Range (shader)
Tried to make something like this: http://forum.unity3d.com/threads/199297-Can-t-figure-this-gradient-material-thing-out Its just a shader, which takes top bar and bottom bar world positions and then builds gradient between them.. AssetStore: http://u3d.as/content/mgear/vertical-gradient-range-shader/5q3 Webplayer: http://unitycoder.com/upload/demos/GradientBarRange1/ — Feature requests: – Sprites shader version – Sample code to change the two colors […]
6
2013
Fake Realtime Shadows With Surface Shader (v2.0)
New realtime dynamic super version of the “Fake Realtime Shadows With Surface Shader“! Webplayer: http://unitycoder.com/upload/demos/FakeShadowShaderUnity/ — Image#2: Purpose was to make 2D shadow casting..but resolution is not good enough.. — Image#3: Or actually DX11 (#pragma target 5.0) gives extra ‘power’:
1
2013
Testing OnParticleCollision()
Testing the new 4.2 feature, shuriken particle collision event: http://docs.unity3d.com/Documentation/ScriptReference/MonoBehaviour.OnParticleCollision.html Collision event returns info from particle: Collider, intersection, normal, velocity http://docs.unity3d.com/Documentation/ScriptReference/ParticleSystem.CollisionEvent.html Features: – Tried to make the spray look like water..but that didnt work out yet.. – Particles hit the plane, and fire that OnParticleCollision […]
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 […]
28
2012
Fake Soft Shadow Shader
Using metablob shader, where sphere positions are linked to the objects that you want to cast spherical shadows (shader is on a plane, where blend mode set to multiplicative) Webplayer: http://unitycoder.com/upload/demos/BlobShadowShader1/ Download source: coming later..
28
2012
Sea Surface Shader (test)
One more water shader test.. Its almost default specular shader with normal map(s) and “bottom texture”.. Webplayer: http://unitycoder.com/upload/demos/SeaSurface3/ Download source: coming later..
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:
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