diff options
| author | Juan Linietsky | 2015-01-04 11:03:31 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-01-04 11:03:31 -0300 |
| commit | a8bcb96ad4c940c93d3fd561ddd29ce38b529303 (patch) | |
| tree | 36c566d8af17af871262f501bc21c4870cc00d48 /scene/resources/surface_tool.cpp | |
| parent | f39473ae7adf11e16b2a7aae2f84764a3225752b (diff) | |
| download | godot-a8bcb96ad4c940c93d3fd561ddd29ce38b529303.tar.gz godot-a8bcb96ad4c940c93d3fd561ddd29ce38b529303.tar.zst godot-a8bcb96ad4c940c93d3fd561ddd29ce38b529303.zip | |
Diffstat (limited to 'scene/resources/surface_tool.cpp')
| -rw-r--r-- | scene/resources/surface_tool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/surface_tool.cpp b/scene/resources/surface_tool.cpp index dd3920593..113fd8209 100644 --- a/scene/resources/surface_tool.cpp +++ b/scene/resources/surface_tool.cpp @@ -650,8 +650,8 @@ void SurfaceTool::mikktGetTexCoord(const SMikkTSpaceContext * pContext, float fv Vector<List<Vertex>::Element*> &varr = *((Vector<List<Vertex>::Element*>*)pContext->m_pUserData); Vector2 v = varr[iFace*3+iVert]->get().uv; fvTexcOut[0]=v.x; - //fvTexcOut[1]=v.y; - fvTexcOut[1]=1.0-v.y; + fvTexcOut[1]=v.y; + //fvTexcOut[1]=1.0-v.y; } void SurfaceTool::mikktSetTSpaceBasic(const SMikkTSpaceContext * pContext, const float fvTangent[], const float fSign, const int iFace, const int iVert){ |
