Use right eye color for right eye
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ fn fs_lefteye(in: VertexOutput) -> @location(0) vec4<f32> {
|
|||||||
@fragment
|
@fragment
|
||||||
fn fs_righteye(in: VertexOutput) -> @location(0) vec4<f32> {
|
fn fs_righteye(in: VertexOutput) -> @location(0) vec4<f32> {
|
||||||
let brt = textureSample(u_texture, u_sampler, in.tex_coords);
|
let brt = textureSample(u_texture, u_sampler, in.tex_coords);
|
||||||
return colors.left * brt[1];
|
return colors.right * brt[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
@fragment
|
@fragment
|
||||||
|
|||||||
Reference in New Issue
Block a user