karansher / computer-graphics-ray-casting

Computer Graphics Assignment about Ray Casting
1 stars 0 forks source link

Normal of a plane. #16

Open Ming-Yeung-Alfred-Meng opened 1 year ago

Ming-Yeung-Alfred-Meng commented 1 year ago

For the normal of the plane can we just use the normal attribute of the plane object, or do we have to process it so that we get a normal that points toward the screen?

panuelosj commented 1 year ago

Yes, you can just use the normal attribute.