View Single Post
Old 06 January 2017, 15:59   #16
Registered User
Join Date: Sep 2011
Location: Paris/France
Posts: 166
>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);
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.04745 seconds with 9 queries