Blender Git Loki

Git Commits -> Revision e4ff110

Revision e4ff110 by Sergey Sharybin (opensubdiv-modifier)
July 30, 2014, 11:42 (GMT)
OpenSubdiv: Initial support of tanged spaced normal maps

Made it so tnagent space is being calculated from GLSL
instead of using CD_TANGENT layer (which is missing for
the OSD meshes).

For now used real basic tangent space calculation, which
is _really_ average and only looks ok-ish with high
enough number of faces.

This is to be improved further with either using different
tangent space calculation or using some sort of evaluator
from OSD (seems they've got some code for this, but it's
not that trivial to hook up for tests because of the way
how our GLSL pipeline is constructed).

Commit Details:

Full Hash: e4ff11057713c9e115c22f1e901c96737eaec0f7
Parent Commit: f71ac88
Lines Changed: +62, -6

3 Modified Paths:

/intern/opensubdiv/opensubdiv_gpu_capi.cc (+6, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+53, -4) (Diff)
/source/blender/gpu/shaders/gpu_shader_geometry.glsl (+3, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021