Examples/RenderTest: fix lighting dir

This commit is contained in:
Jérôme Leclercq 2021-07-07 11:42:19 +02:00
parent f9af35b489
commit ea899e4361
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ struct FragOut
[entry(frag)]
fn main(fragIn: VertOut) -> FragOut
{
let lightDir = vec3<f32>(0.0, -0.707, 0.707);
let lightDir = vec3<f32>(0.0, 0.707, 0.707);
let lightFactor = dot(fragIn.normal, lightDir);
let fragOut: FragOut;