From ea9086cf7368ef4027b8dc5b44e1d5fb2ca160cf Mon Sep 17 00:00:00 2001 From: c6burns Date: Fri, 21 Dec 2018 07:43:49 -0700 Subject: [PATCH] Update TressFXAsset.cpp --- amd_tressfx/src/TressFXAsset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amd_tressfx/src/TressFXAsset.cpp b/amd_tressfx/src/TressFXAsset.cpp index 8c8a0b0..f7cc799 100644 --- a/amd_tressfx/src/TressFXAsset.cpp +++ b/amd_tressfx/src/TressFXAsset.cpp @@ -299,7 +299,7 @@ namespace AMD for (int k = 0; k < m_numVerticesPerStrand; k++) { const tressfx_vec3* guideVert = &pos[indexRootVertMaster + k]; - tressfx_vec3* followVert = &pos[indexRootVertFollow + 1]; + tressfx_vec3* followVert = &pos[indexRootVertFollow + k]; float factor = tipSeparationFactor * ((float)k / ((float)m_numVerticesPerStrand)) + 1.0f; *followVert = *guideVert + offset * factor;