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
- MotionVector Effect: Object “disappears” when paused
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- 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
Recent Comments
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on
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?