Closed ptanugra closed 6 years ago
I think i got it
Hi, I also have a really hard time debugging this. I thought I have implemented everything from readme and get a kinda bumpy effect, but my output looks very similar to yours especially how the sphere is split up with edges to colors. May you share how you figure it out?
Here is my current normal output:
Thanks in advance!
To answer my own question, the multiplication sign in the mathematic formula meant to be a cross product, it is not a multiplication!
Hi Professor,
For bump.fs, I have followed all of the instructions and steps to calculate the normal (also Implemented the improved perlin noise). However i keep on getting a completely different result than the one in the README. Also with openGL, it's significantly harder to debug (can't simply print values on screen). Here is a screenshot of my completely wrong results:
I have also researched into setting up a TBN matrix but to no avail, it still produces a completely different result. I feel like I'm getting stuck in a loop trying after trying to read the many different articles online back and forth and the book doesn't really touch upon this topic either.
Am I going in the right direction? Also, am I overthinking the problem?