add pbr light shader

This commit is contained in:
2020-06-20 16:18:48 +08:00
parent 1c75bad0e6
commit 4daa976954
3 changed files with 154 additions and 1 deletions

View File

@@ -27,7 +27,6 @@ layout(binding=1) uniform ColorMaterial
vec4 ambient;
} color_material;
layout(binding=2) uniform Sun
{
vec3 direction;