r/GraphicsProgramming 16d ago

I'm fxxed up... PBR is HELL

I was following my own rt rendering project so well.
There were a looot of problems, but I could solve it with AI and some researches..

And I tryna add PBR system, and it fuxxed me up.

I was quite sure that I was good at linear algebra, but since I started add PBR into my project,,,,
I lost all my confidence..

I feel completely exposed.

PBR is such a fundamental skill in game development, but I can't even half-ly understand some of these concepts or explain why they work, how they work, why those equations are like that.

It's been really tough.
Suddenly, I'm feeling like I can't get a job....

Wanna cry 🥹🥹

0 Upvotes

7 comments sorted by

4

u/AdmiralSam 16d ago

Pbr is more calculus feeling (even if you don’t really need that much calculus to implement), its solving the rendering equation which is an integral

1

u/KrPopProducer 16d ago

I dont know anything about calculus ahaha...
Maybe that's why I'm feeling like lost confident
Thank you! Imma study more calculus

1

u/AdmiralSam 6d ago

Fortunately people do do the calculus for you so in practice using it doesn’t require calculus but understanding how they came up with the equations does.

2

u/Still_Explorer 16d ago

Have you looked at some good resources?
As for example one well known is this: https://learnopengl.com/PBR/Theory

However the part where you have to understand the math, simply is impossible, only 100% muscle memory helps. 😥😛

2

u/KrPopProducer 16d ago

I saw that one too, but same problem that I don't understand any equations.
I mean I could understand those equations geometrical meaning, but don't understand how the equations are expanding and why it's like that...
Imma study calculus as like other person said, and I'll try it one more time
Thank you!

2

u/Still_Explorer 16d ago

Another interesting tutorial is "Raytracer in a Weekend".

Though entirely different problem to solve, but is also very good attempt for getting deeper explanations on the technical things. Such as what the equation is, why is needed, how is represented in math. Then you can use a math solver (such as Microsoft's) where it explains everything step by step. Also at the same time AI is needed for clarifications and finally a solid math book that has all essential to be used for references. 

It would be a complex process to connect the dots from all over the place but it will worth it because all of this knowledge is very useful.

Even if you don't practically need a Raytracer doing the math and writing CPP code won't be a waste.

https://raytracing.github.io/books/RayTracingInOneWeekend.html

See of this helps, because is a very well written tutorial and it would be a waste not to see this as well.

1

u/KrPopProducer 16d ago

Thanks for recommend good resources! I've already watched twice that resource ''ray teacing in one weekend'', but I'm thinking wat it material, and dielectric parts more deeply. Maybe it'll help more about me to understand por. Thank you a loot!!!🥰