Posts Tagged windows phone
When we have no custom shader, we need to make some sort of little magics to create usual effects like Skybox. This Small post will show a way to simulate this visual effect on Windows Phone 7.
The trick is actually very simple, we just “extract” all the textures from the cube map texture (normally we feed it to a shader that would sample it with the eye vector, but we dont have custom shaders …) and draw all of then each frame (transformed by the camera matrices).
Leia o resto desse post »