View Full Version : SGIS_Shadow & Cube Maps = No 'R' Coordinate
01-17-2002, 10:55 AM
Since the SGIS_shadow specification (using the latest nvOpenGLspecs.pdf) says it uses compares the 'R' coord with the texel fetched from 'S' & 'T', is there anyway to use this with cubemaps? or 3d textures for that matter?
It would be great if the spec was appended with "it uses 'Q' coord when cube or 3d textures are enabled."
The percentage-closer-filtering-comparision has a lot of value for cube/3d maps beyond shadows.
01-17-2002, 10:14 PM
No, cubemaps are not supported in any meaningful way. I also suggest not using this with 3D textures. (These ambiguities are one reason why this is only an SGIX extension.)
01-18-2002, 06:41 AM
If there was enough support/demand, would it be possible to add such an extension for GF3-class HW that could apply compare & percentage-nearest filtering on cube/3d maps?
01-18-2002, 09:56 PM
No; for example, shadow cubemaps require very different math than 2D shadow maps.
01-19-2002, 07:22 PM
It's an interesting request though. The texgen for the R coordinate would not work with this, but perhaps another texture would do the trick. A simple 3D texture which mapped light distance radially with the comparrison against projected depth texture from the light projected using a cube map style representation. The 3D texture needn't be perfectly radial, it could support the planar depth for each cube face if the depth cube map didn't contain radius but cube face z.
[This message has been edited by dorbie (edited 01-20-2002).]
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.