Skip to main content
GameDev.net gamedev.net
🔒 Locked

Shadow map resolution for terrain

Started by polyfrag Dec 23, 2012 at 4:25 AM 1 replies 1.4k views
Original Post
polyfrag
polyfrag

I was using a 4096x4096 size shadow map for my RTS map until I realized that it was lagging because of it.

But the new 512x512 is far too small.

shadowmap_zps067c4e41.jpg

What can I do to add detail to the shadows without lagging it?

https://dl.dropbox.com/u/109630018/CorpStates.zip

deftware
deftware

create individual shadows for each structure/object that's on the map, each one of those could be (judging by your screenshot) maybe 64x64, and when drawn would look beautiful.

[ deftware.org ]
max343
max343
You can implement CSMs. With these you can achieve nice precision for some areas, while sacrificing precision on other areas.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.