Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support #105600
|
@ -334,7 +334,8 @@ static void ExportCurveSegments(Scene *scene, Hair *hair, ParticleCurveData *CDa
|
|||
attr_intercept->add(time);
|
||||
|
||||
if (attr_normal) {
|
||||
/* TODO: compute geometry normals. */
|
||||
/* NOTE: the geometry normals are not computed for legacy particle hairs. This hair
|
||||
* system is expected to be discarded. */
|
||||
attr_normal->add(make_float3(1.0f, 0.0f, 0.0f));
|
||||
}
|
||||
|
||||
|
|
|
@ -687,6 +687,7 @@ void blo_do_versions_400(FileData *fd, Library * /*lib*/, Main *bmain)
|
|||
*/
|
||||
{
|
||||
/* Keep this block, even when empty. */
|
||||
|
||||
if (!DNA_struct_find(fd->filesdna, "NodeShaderHairPrincipled")) {
|
||||
FOREACH_NODETREE_BEGIN (bmain, ntree, id) {
|
||||
if (ntree->type == NTREE_SHADER) {
|
||||
|
|
Loading…
Reference in New Issue