diff options
| author | Geenz <geenz@geenzo.com> | 2013-01-30 12:17:04 -0500 |
|---|---|---|
| committer | Geenz <geenz@geenzo.com> | 2013-01-30 12:17:04 -0500 |
| commit | aa1befd689703d9fea50399201911e0f8fca6ac6 (patch) | |
| tree | c60457d1762d8b1c28a9d40130ba2988f532cd27 /indra/newview/llface.cpp | |
| parent | 66a01ba4c581d79227b0e67f5f75dc248fcaf7ab (diff) | |
Specular map support. This is the vast majority of the material parameters implemented at this point for opaque geometry.
Diffstat (limited to 'indra/newview/llface.cpp')
| -rwxr-xr-x | indra/newview/llface.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 01cbfafe16..cd84815295 100755 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -2077,9 +2077,11 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume, LLFastTimer t(FTM_FACE_GEOM_BINORMAL); mVertexBuffer->getBinormalStrider(binorm, mGeomIndex, mGeomCount, map_range); F32* binormals = (F32*) binorm.get(); - + + mVObjp->getVolume()->genBinormals(f); + for (S32 i = 0; i < num_vertices; i++) - { + { LLVector4a binormal; mat_normal.rotate(vf.mBinormals[i], binormal); binormal.normalize3fast(); |
