3
2016
Fake Tube Light Shader
Tried to test idea about tube lights (or “line light”), by using custom lighting in shader, you could sample the light several times from different positions/angles, so that it looks like the light is not just a single point. (not really working here properly yet, […]
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) – […]
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 […]
10
2014
Shadow Casting 2D
Another fake shadow test.. (similar to the old raycast version, but should work with Physics2D). *This is currently abandoned.. See also: http://unitycoder.com/blog/2014/10/12/2d-visibility-shadow-for-unity-indie/ Info: – Testing PseudoAngle to sort object positions Todo: – Take shadow caster PolygonCollider2D vertices, check which one are visible to play – […]
4
2014
Animated Fake Sprite Shadows (shader)
Interesting fake shadow effect for sprites, using modified sprite shader.. Features: – Works with animated sprites – Works without pro – Could be used as fake reflection also? – more info later.. Webplayer: http://unitycoder.com/upload/demos/FakeSpriteShadowShader/
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 […]
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’:
5
2013
FOV Using Recursive Shadowcasting
Converted this script to unity: FOV Using Recursive Shadowcasting, for a quick test.. Instructions: – Attach the script to a plane – use Unlit/Texture shader as material (then no need lights..) – Move main camera so that it sees the plane TODO: – Use this […]
31
2013
Fake SpotLight Shadows
Testing one idea for fake spotlight shadows. In the image, spotlight is at the wall, cylinder column is there to block light. (shadowmap size 1024×1024) Current version info: – Have to build the shadow texture manually..(later should be possible to do it all in script) […]
20
2013
Fake Circular Shadow Casters
More fake shadow tests.. (currently works from one direction only) Info: – Lets say all of your shadow casting objects are spheres/circular, then we could calculate what area is not visible based on the distance & angle from the player to spheres (or so I […]
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