BLINN-PHONG: Fixed the third sphere by traversing by transforming it using both its own and its parents FromNodeCoord. It is ever so slightly off so Ill update if theres something better.
PHONGPhong lighting still with that one weird sphere. Im pretty sure its because I only transformed the ray to its parents space and not actually in world space. Need to iterate through somehow, but Im gonna deal with that later. Ill try Cook-Torrance.
BLINN-PHONG This is the real blinn-phong submission. Almost everythings rendered properly. Only issue is that the final sphere is rotated, but Im going to go for Cook-Torrance when I get the chance instead :D
Same thing but Phong lightingEDIT: Same as before ignore this pls.
FIXED THE THIRD ORB!!!!!It was a traversal issue. Ngl Im not entirely sure why it got fixed so Ill look into that and edit this.EDIT: Ok Im actually going to have to omit this submission. That third orbs actually not rendered and was just the original image. oops.
Same thing but just phong.
Blinn-phong FIXEDI think the third sphere being slightly rotated is a node traversal issue and I didnt transform it back properly before running it through the shader. Ill try to figure it out.
Just to make a point. Blinn-Phong with no artifacts.Dont have the correct z-comparison yet and the smallest ball is still off.
Its a 100% the zbuffer ordering issue. Been getting variations of rendering just two out of the three spheres. On the bright side, no more artifacts!The smallest orb is rotated a bit so Ill deal with that after.
Blinn-PhongThere are actually some weird artifacts underneath the ellipsoid. Im assuming it either has something to do with the normals or the way I am ordering the object via z-buffer.