浏览代码

Fix typo;

bjorn 1 年之前
父节点
当前提交
ec6584ee6e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -86,7 +86,7 @@ basis and a direction vector, and returns a color:
 ```glsl
 #include "shh/shader.glsl"
 
-layout(set = 2, binding = 0) uniform SH { sh[9]; };
+layout(set = 2, binding = 0) uniform SH { vec3 sh[9]; };
 
 vec4 lovrmain() {
   vec3 color = evaluateSH(sh, normalize(Normal)) / PI;