Today i decided i wanted cube maps in the engine, because they are one of those things that completly change how a game looks with minimum effort.
And thankfully the effort was really not that much.
It was slightly complicated by the fact that i'm doing deferred rendering, and i needed to tweak a few things, but now everything works and the effect is great.
I know it is quite easy to implement reflections and refractions with the cubemaps, but there are a lot of problems, for example how to block reflection if something is between the object and a cube face.
I'll have to decide if i want to go down that road or just try and implement something else.

Nessun commento:
Posta un commento