karansher / computer-graphics-ray-tracing

Computer Graphics Assignment about Ray Tracing
0 stars 0 forks source link

Reflection ray giving weird reflection #17

Open icathychen opened 1 year ago

icathychen commented 1 year ago

My reflection ray is giving me an output image like this with an extra reflection below the sphere. Does anyone know what might have caused this? I have an offset for my reflected ray which is "point + 1e-13 * normal".

Screen Shot 2022-10-01 at 1 02 01 PM
fares-soliman commented 1 year ago

been having this issue too, any idea?

fares-soliman commented 1 year ago

got it, for me keeping my min_t in first_hit in raycolor from 1 to 0 solved it