Has anybody else ever seen a case where their render targets are always
returning 64 for both GetActualWidth() and GetActualHeight() ?
This seems to be most prevalent on HDR maps for some reason. Here's the code
that is creating my render target:
pMaterialSystem->CreateNamedRenderTargetTextureEx2(
VarArgs("_rt_Sensor%d", idx), 512, 512, RT_SIZE_OFFSCREEN,
pMaterialSystem->GetBackBufferFormat(),
MATERIAL_RT_DEPTH_SHARED, TEXTUREFLAGS_CLAMPS | TEXTUREFLAGS_CLAMPT,
CREATERENDERTARGETFLAGS_HDR );
Where idx is a number between 0 and 7 (total of 8 render targets). Any ideas
why this is happening?
Thanks in advance!
-Cale
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders