View Single Post
Old 05 January 2017, 21:53   #9
thellier
Registered User
 
Join Date: Sep 2011
Location: Paris/France
Posts: 148
Something like that should works (sorry dont know this shading langage) :


float3 screencorner=float3(1,-1,1);

screencorner = mul(screencorner,WorldViewProjection);

output_size.x=screencorner.x;
output_size.y=screencorner.y;
thellier is offline  
 
Page generated in 0.04399 seconds with 9 queries