31
2013
Fake SpotLight Shadows
Testing one idea for fake spotlight shadows. In the image, spotlight is at the wall, cylinder column is there to block light. (shadowmap size 1024×1024)
Current version info:
– Have to build the shadow texture manually..(later should be possible to do it all in script)
– Its static, atleast for now (if the cylinder moves..shadow doesnt update, unless you build new shadow map..)
– Might work on pointlights also
– more later..
Webplayer:
coming later..
—
Image#2: Shadow map size 16×16, creates nice soft shadow (should be small enough to be updated in realtime – even with raycasting?)
Related Posts
1 Comment + Add Comment
Leave a comment
Recent posts
- Editor Tool: Property Watcher
- .unityignore : Hide files from Project window
- PostBuild Script to Create Single exe Standalone File
- Game Loop Designer
- Favorites in PackageManager
- LudumDare59 : Signal
- Unity Editor: Tree Generator
- Leaf/Foliage Generator Tools (Runs in Browser)
- 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)
Recent Comments
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by














Interesting!