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
- Testing Unity AI Beta
- Ways to Support UnityCoder Development
- Using UI Slider to Create 5-Star Rating Element
- Game Music Library For Unity (editor plugin)
- Fontastic : Easily Test Fonts in Unity Editor!
- GeoTiff Importer & Terrain Generator for Unity
- Create Baked DropShadow for UI images
- .JP2 Ortho Image Converter to PNG/JPG/TIFF
- Convert LAS/LAZ/PLY pointclouds to GLTF (GLB) Point Meshes (standalone converter)
- Detect SRP (URP or HDRP) with Assembly Definition Version Defines
- [LudumDare57] Theme: Depths
- MotionVector Effect: Object “disappears” when paused
Recent Comments
- on [Asset Store] PolygonCollider2D Optimizer
- on Trajectory Test Scene 2.0
- on Vector3 maths for dummies!
- on UnityHub 3.6.0: Remove Version Control & Cloud Dashboard columns
- on Using RenderDoc with Unity (graphics debugger)
- on UI Scroll View automatic Content height
- on [Asset Store] Point Cloud Viewer & Tools
- on [Asset Store] Point Cloud Viewer & Tools
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?