Sign in to follow this  
  • entries
    94
  • comments
    127
  • views
    83175

raytracer part 4

Sign in to follow this  

90 views

Added a Pigment class to the game, although the only one I have is the solid color version.

I added specular lighting (phong) today! w00t! looks awesome according to me! but... veeeery different from my reference picture. Probably because that's the "first step" pic.



Here's the reference pic

EDIT: godamnit. the images have the colors switched as well as flipped around y-axis... Now I don't know if I'm calculating wrong, or if it's a texture indexing problem. I quick fixed it by indexing from right to left in the texture and manually swapped the colors.
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