Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Going for shadow mapping or deferred rendering next?

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
4 replies to this topic

#1 KaiserJohan   Members   

2265
Like
0Likes
Like

Posted 01 November 2013 - 07:15 AM

Not really a solid question I know, simply looking for some input and didn't know where else to post it.

 

I'm at the point where I feel learning how to do shadow maps and converting my forward renderer to a deferred renderer would be good challenges after having implemented models, lights, textures, etc, but I'm unable to decide which to aim for first. Is there any pros and cons of implementing either technique first or is simply personal preference? Would for example it be easier to do deferred rendering once you've done shadow mapping as both use framebuffers or vice versa?



#2 N.I.B.   Members   

1452
Like
1Likes
Like

Posted 01 November 2013 - 07:54 AM

Shadow maps first. The basic shadow map algorithm is pretty straightforward and easy to learn.

But, depending on your interest level, you'll might want to explore some soft-shadows algorithms, which will be easier to learn with a forward renderer.

#3 KaiserJohan   Members   

2265
Like
0Likes
Like

Posted 01 November 2013 - 07:56 AM

Is not the result of shadowmaps soft-shadows? Does the basic shadowmapping alghorithms give too rough shadows?



#4 N.I.B.   Members   

1452
Like
0Likes
Like

Posted 01 November 2013 - 08:07 AM

With the basic algorithm you'll get hard shadows. Even HW PCF is not soft enough.
There are also accuracy issues which will cause shadows to look wrong, self-shadowing problems, etc.

I suggest you start with the simple algorithm to get better idea of how shadows work.

MJP had a nice post in his blog with overview of some shadow map techniques. Not really for beginners, but a very interesting read.

http://mynameismjp.wordpress.com/2013/09/10/shadow-maps/

#5 3TATUK2   Members   

714
Like
2Likes
Like

Posted 01 November 2013 - 08:19 AM

http://codeflow.org/entries/2013/feb/15/soft-shadow-mapping/

 

^ comparison of soft shadow mapping techniques, for *after* you're familiar with basic shadowmapping


Edited by 3TATUK2, 01 November 2013 - 08:20 AM.





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.