box projected cube environment mapping BGE
Uploader Comments (martinsupitis)
All Comments (99)
-
That looks awesome! I like Mirror's edge too so extra points for that.
-
@martinsupitis What about the pallets? They aren't being reflected?
-
Wooow *o*
-
this is what you can expect from the next generation of game development
-
@legendarylugi Raytracing in real-time is a no go. This is a rasterization renderer.
-
@WolfosDotOrg Yeah, hence why I said I don't know if it would kill the framerate. Because you can't bounce a ray between two objects indefinitely, you have to terminate at some point, the question being when.
I didn't know that was the only way to achieve those kinds of reflections in real-time, but that would make sense. I'm betting it's pretty computationally expensive, though.
-
@legendarylugi Real time reflections for non-planar surfaces can only be done through raytracing.
-
This is quite impressive!
What would make it perfect is if you could incorporate reflections from other objects in the room (without slowing things to a crawl, that is), because right now those boxes are like ghosts, the spheres don't reflect them. The big problem of course, is that the spheres might end up reflecting each other and just murdering the framerate.
-
And people don't use blender game engine more WHY?
-
That looks..... sexy!! Almost looks like Source or Unreal, makes blender look like commercial software. Please, laymen terms tutorial on how to do this!!
lighting and reflection material is pre-baked into textures so it does not have to calculate it every frame. There is only single cube map for each room. And box projection deals with the correct position for the balls, so i don`t need separare cube maps for each of the balls. there are only 4 textures for lighting (3 cube maps and a light-map)
martinsupitis 10 months ago
so... you have a single environment map for every possible location, and it is dynamically rendered for every sphere, and you get >1 fps?!
superkellerman8D 10 months ago
@superkellerman8D
Not really >1 fps. I get around 300fps on a mid-range laptop. There is really simple math behind it, and there is nothing dynamic, everything is pre-baked.
martinsupitis 10 months ago
Dude, this is awesome
btw, whats the music playing?
kenkhenk 1 year ago 7
@kenkhenk
ah yeah forgot to mention the music - Blue Stahli-Throw Away
martinsupitis 4 months ago