[Solved]How would one render the screen to just a portion of a rendertarget ?

Im going to post to a new topic with a appropriate title i have a feeling this will take some time to get it right. [Solved]Render Target Cube Texture Cube How to questions.

Kosmonaut that is impressive. Though im was just shooting for a barebones example.

Well i got a initial test up and running i won’t know how well its working till i continue it im tired. It appears to be shadowing, All though its a piss poor testing scene i tossed up a pic.

This turned out to be a crucial peice of the puzzle would not of known how to do this…

float3 dir = pixelPos - lightPos;
float shadowDepth = texCUBE(shadowSampler, float4(dir, 0)).x;