Jump to content
  • Advertisement
Sign in to follow this  
thedigga007

Irradiance map issues

This topic is 2250 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

I am experimenting with irradiance maps for use in ambient diffuse lighting. I've encountered an issue where when I sample the cube map I get weird banding and harsh falloffs. When I move an object around that is using an irradiance map its extremely noticeable. Anyone have any ideas as to what the issue could be? My shader is very simple:

float4 ambientDiffuse = texCUBE(irradianceCubeMap, worldSpaceNormal) * DiffuseTexture;
return ambientDiffuse;


This is what I see as a result

wqvrdl.png

You'll notice it moves from dark to light very abruptly and it looks terrible when in motion. I've tested with multiple cube maps but I always see the same thing.

Thanks for any help

Share this post


Link to post
Share on other sites
Advertisement
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!