dilevin / computer-graphics-shader-pipeline

Computer Graphics Assignment about the Shader Pipeline
2 stars 7 forks source link

bumps generated are almost unnoticebale #82

Open jjackzhu opened 2 days ago

jjackzhu commented 2 days ago

I followed the instructions in the readme to calculate the bump and normal map, then used the new normal to calculate the lighting, but the bumps being generated are large and unnoticeable: Screenshot 2024-11-05 193038 There is some slight distortion in lighting, but still very unnoticeable. If I multiply the original normal vector by a random value using improved_perlin_noise before doing the calculations, I get this: Screenshot 2024-11-05 195327 which is better but still minimal. Is the first picture expected behaviour? How can I get better results?

mengf821 commented 2 days ago

Dear @jjackzhu ,

No I do not think this is the intended result. I'm not entirely sure why you are getting these though. It's hard to say without looking at the code. If you have further issues with getting the intended result please feel free to email the TA email with your code.