Home › Forums › Platformok › PC › vége a polygonoknak? › Reply To: vége a polygonoknak?
“Dynamic cube map environment mapping does exactly that. A dynamic cube map texture is generated by first render the scene six times from the point of view of the reflective object. Each view is a different orthogonal 90 degree view frustum corresponding to one of the six faces of the cube map. In OpenGL, you can use the glCopySubTexImage2D command to copy each rendered cube face into the cube map. Once the dynamic environment has been rendered and copied into the face of the cube map texture, render the scene normally using the dynamic cube map texture when rendering the reflective object.” az szép, 6x lerenderelik a scenet egy cubemapra, aztán azt vissza az ótóra :)