Browsing articles tagged with " fake"
Jul
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, […]

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
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 […]

Feb
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 – […]

Feb
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/

Jan
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 […]

Aug
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’:

Aug
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 […]

Jan
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) […]

Jan
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 […]

Pages:123»

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

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.