The manual's "d3d_shaderversion" variable can be used to check the shader version support.

Quote:
as well as MRTs (2 or 4).
I was under the impression that if a card does support MRTs it usually supports 4 or 8, but the lack of a "2" option was just an assumption on my part.

The "bmap_rendertarget()" -- the old way to do MRTs -- is still supported and can be useful for determining how many render targets the computer supports. See what the manual says about it. I used it in the shader contest last year for disabling deferred rendering when there's no MRT support (as far as I've heard your deferred shaders work with or without MRT support, but I was being lazy laugh ).

Unfortunately the engine doesn't seem to come with anything for checking R16f or R32f texture support, which is obviously also very important to know, so you're probably best-off with Slin's example if he/you/I/someone can get it working.

Jibb

EDIT: Just realized after posting that d3d_shaderversion doesn't seem to differentiate between different 2.x versions.

Last edited by JulzMighty; 03/19/10 16:52.

Formerly known as JulzMighty.
I made KarBOOM!