Skip to content

Commit

Permalink
[Fix] fix a bug in Chapter5-SimpleShader
Browse files Browse the repository at this point in the history
  • Loading branch information
candycat1992 committed Jun 13, 2016
1 parent 1ab00a6 commit 3a3912a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Shaders/Chapter5/Chapter5-SimpleShader.shader
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
fixed3 color : COLOR0;
};

v2f vert(a2v v) : SV_POSITION {
v2f vert(a2v v) {
v2f o;
o.pos = mul(UNITY_MATRIX_MVP, v.vertex);
o.color = v.normal * 0.5 + fixed3(0.5, 0.5, 0.5);
Expand Down

0 comments on commit 3a3912a

Please sign in to comment.