Original Post
Hello there, i'm working on a project for school and i want to program a shader (using DirectX and CG) that implements environment mapping. I understand the theory and everything and i also have access to a vertex and a pixel shader but i can't figure out exactly what is a cube map. Is it only a simple skybox or do i have to implememt something more for my skybox to be understood as the cube map by directx? Also does anyone knows where i can find some source code that would prepare a scene for environment mapping (with Directx if possible)? thanx j.k.