Jump to content
  • Advertisement
  • entries
    29
  • comments
    99
  • views
    52093

LPV: Really, after all that time, thats it!?

Sign in to follow this  
Migi0027

971 views

For a long while I've known theres been a problem when testing for shadow visibility with my voxels during my injection of voxel lighting. But as usual I got too lazy and left it. So I got along with the problem, I called it Steve, I created lots of hackish solutions to mimic the "correct" shadow testing.

But after a while I got tired of Steve, so I double checked the light injection pass, and noticed that the light intensity calculation was acting "weirdly". So, what was the problem? THIS:... = VoxelGetNormal(nDotL, voxel.maskNormal, -lDirection);
What could possibly be wrong with Steve here? Well it turns out that Steve was a challanged kid:... = VoxelGetNormal(nDotL, voxel.maskNormal, lDirection); // Woala
More correct output:

q0VRHV0.png

Currently I'm testing the shadow maps on the voxel with a PCF filter, but the interpolation is still jagged ( like cubes ), because theyre voxels. So I might look into how to smootly interpolate, I'm just afraid of multi sampling different near by voxels ( Performance ).

Im not a pro at MS Paint yet, so the interpolation isnt really.... correct.
mt4NmAd.png

The problem will be called Jack, for some reason.

Until next time!
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!