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
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- 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)
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?