Fake environment mapping
Filed under: Game Maker

A little trick I did to show that some limitations of d3d can be cheated around. Here we have a reflective surface. This is achieved by resolving a model’s vertices into screenspace (once again game maker limits and provides no transform functions so I had to pretty much duplicate d3d output with scripts). It is however, very limited and only shows the idea. To make it work in a game with a camera, you’ll need to do a bit more in the way of transforms.
Oh yeah. The i3d format it uses is produced by my mesh exporter also available here.






