Make RT controls more obvious
This commit is contained in:
@@ -12,6 +12,7 @@ void main() {
|
||||
const vec2 pixel_center = vec2(gl_LaunchIDEXT.xy) + vec2(0.5);
|
||||
const vec2 in_uv = pixel_center / vec2(gl_LaunchSizeEXT.xy);
|
||||
vec2 d = in_uv * 2.0 - 1.0;
|
||||
d.y *= -1.0;
|
||||
|
||||
vec4 origin = camera_uniforms.inv_view * vec4(0, 0, 0, 1);
|
||||
vec4 target = camera_uniforms.inv_proj * vec4(d.x, d.y, 1, 1);
|
||||
|
||||
Reference in New Issue
Block a user