Jump to content
  • Advertisement
  • entries
    422
  • comments
    1540
  • views
    490104

Oren-Nayar pictures

Sign in to follow this  
jollyjeffers

299 views

Now that I've solved my stupid bug I present pictures for you all:


At the top-right is the 'pure' arithmetic implementation as a reference image; down the left-hand side are the look-up texture versions with varying texture densities.

The B&W images are a simple difference between the image on its left and the reference image at the top and then a threshold of 1%. Basically, any white pixels are more than 1% different from the reference image. The less white pixels the better.


On Ralf/Demirug's suggestion I knocked up a simple .NET console app that ran a numerical analysis that results in the above chart. The difference between 128x128 and 512x512 is only 0.7%, which suggests that anything beyond 128x128 is getting to be a bit wasteful...
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!