Skip to content

Commit

Permalink
Merge pull request #22 from DomDumont/main
Browse files Browse the repository at this point in the history
  • Loading branch information
paddy-exe committed Dec 5, 2023
2 parents 682301c + 02f7c97 commit c1fc8a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/ShaderFunction-Extras/Utility/utility.gdshaderinc
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,5 @@ vec3 vertex_billboard(vec2 uv, mat4 view_mat, vec3 vertex, float scale) {
uv.x = remap(uv.x, 0.0, 1.0, -1.0, 1.0);
uv.y = remap(uv.y, 0.0, 1.0, -1.0, 1.0);
uv *= scale;
return vert + ((vec4(uv, 0.0, 0.0) * view_mat)).xyz;
return vertex + ((vec4(uv, 0.0, 0.0) * view_mat)).xyz;
}

0 comments on commit c1fc8a9

Please sign in to comment.