Aug
11
2012

Fake Dynamic Tree Shadows

Tree shadows are created for terrain trees in Startup(),
with adjustable strength, shadow shape, shadow color etc. (unity indie)

Ideas/Todo:
– Animated shadow? (based on terrain wind settings or just random..?)
– Different shadows for different trees (Get treesize, type..)
– Angled shadows (currently its directly from up..)
– Shadow rotation with day cycle?
– Splat shadow or darker terrain texture also.

Features:
– Currently it only adds 9 drawcalls (doesnt matter how many trees you have)

Webplayer:
http://unitycoder.com/upload/demos/fakeTreeShadows1/

Download source:
later..


4 Comments + Add Comment

  • aaaa

  • Looks nice, looking forward to the future improvements. How does it work? With projectors?

    • Yes, using projector.

  • I got tree shadows (once) by flagging ‘hard shadows’ on my directional light, but I’d like a backup
    plan, can you post the source please?

Leave a comment

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch Instagram

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.