• Advertisement
  • entries
  • comments
  • views

Oren-Nayar pictures

Sign in to follow this  


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  


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