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..
Related Posts
4 Comments + Add Comment
Leave a comment
Recent posts
- Adding Real World Location to Ice Fishing Prototype
- [web tool] Image Channel Inspector : AlphaScope
- Editor Tool: Smart Recompile (don’t recompile if edit comments)
- Editor Tool: Scene Size Analyzer
- LudumDare 60: Old Tech
- uBasic Scripting Language for Unity
- GreaseMonkey+Editor Plugin: 1-Click Copy script from ChatGPT (Web) to Unity Editor (as script)
- Editor Tool: Property Watcher
- .unityignore : Hide files from Project window
- PostBuild Script to Create Single exe Standalone File
- Game Loop Designer
- Favorites in PackageManager
Recent Comments
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by













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?