View Single Post
Old 06 January 2017, 14:59   #16
thellier
Registered User
 
Join Date: Sep 2011
Location: Paris/France
Posts: 148
>No it doesn't work. I think all those are somehow scaled coordinates between 0 and 1 or -1 and 1 or something.
Curious I thought it should works

perhaps it is
float3 screencorner=float3(1,-1,0);
or
float3 screencorner=float3(1,1,0);

the field Viewport.Size.x Viewport.Size.y is also supposed to contain the wanted size

Alain Thellier
thellier is offline  
 
Page generated in 0.05315 seconds with 9 queries