Jan
2
2012

Fake 2D Realtime Shadows Shader (for unity free version)

Testing 2D realtime shadows (shader based), works with unity free version.
More tests later.. (in that screenshot, there is 1 spotlight and objects which cast shadow behind them)

Current version kind of works with spheres..need to adjust shader for other shapes.

Webplayer: (added 14.01.2012)
http://unitycoder.com/upload/demos/mShadowShaderFake1/

Source: (webplayer scene + shader sources)
mFakeShadowShader.unitypackage


5 Comments + Add Comment

  • You can install both versions of unity, Just install one and rename the directory and then install the other. Nice Blog btw

    • thx, have to try that!

  • added webplayer demo

  • I’d like to see the source for this 🙂

  • I can post the current version later today,
    but i think it only works with spheres currently..: )

Leave a comment

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.