Jump to content
  • Advertisement
Sign in to follow this  

Normal mapping, draw scene twice or runtime generated normal map?

This topic is 2351 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Now this may be a dumb question but here it is.

I'm trying to achieve the normal map effect + light on a 2d perspective. So far I managed to do it using GLSL.

My question now is, should I draw the scene one using regular images to a Render target, draw it again just using normal map images to another render target and mix it on the Shader
should I draw once, grab the image, do some autogenerate normal map codes (saw one on the internet) and then combine the two of them?

What seems better?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!