Hello everyone.
Im developing game engine from scratch and im looking for best reflection method.
I know 2 for now.
One is called dynamic cube mapping, basically you took 6 images from the center of object ... ( and yeah, you're doing it for each object in game... )
Thats pretty bad one. Terrible in my eyes.
First reason will be that it takes too much cpu power and well.
For example object can't get reflection from itsself.
Im not meaning that one:
object 1 < --- > object 2
( if you look at the object 2 you can see object 1 but not object 2 from object 1 )
It is possible to do it by i guess, taking those 6 images 2 or more times for each object and thats ... not going to comment that.
the object is complicated shape like for example infinity symbol then there will be some faces parallel to each other and it would be realistic if those 2 faces reflect the light to/from each other but in that way it will never going to happen.
The ohter one is the ray tracing way. It is new for me and i haven't yet tried that but i think ray tracing graphic for now is only for prerendering not for real time am i right?
So i think i may need something else here. Any ideas?