ScratchData LogoScratchData
Back to Howtomakeanalt's profile

Raytracer v3 with fixes

HOHowtomakeanalt•Created September 20, 2020
Raytracer v3 with fixes
16
13
290 views
View on Scratch

Instructions

Trigophers actually used the fixes :) I also lowered the phong to 0.8 because I preffered that

Description

Fix 1: specular lighting and fixing of reflection vecotr (added a comment showing the fix too) . Fix 2: The way this avoids 'shadow acne' where an the ray creates a shadow by hitting itself at the wrong time. This is easily fixed by displacing the point by the normal instead of just adding 1 to intersept y.

Project Details

Project ID427365740
CreatedSeptember 20, 2020
Last ModifiedSeptember 27, 2020
SharedSeptember 20, 2020
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root