forked from blender/blender
Implement Viewport render with material preview #56
@ -109,6 +109,7 @@ void WorldData::init()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
data_[pxr::HdLightTokens->textureFile] = pxr::SdfAssetPath(sl->filepath, sl->filepath);
|
data_[pxr::HdLightTokens->textureFile] = pxr::SdfAssetPath(sl->filepath, sl->filepath);
|
||||||
|
/* coefficient to follow Cycles result */
|
||||||
data_[pxr::HdLightTokens->intensity] = scene_delegate_->view3d->shading.studiolight_intensity / 2;
|
data_[pxr::HdLightTokens->intensity] = scene_delegate_->view3d->shading.studiolight_intensity / 2;
|
||||||
|
|
||||||
transform *= pxr::GfMatrix4d(
|
transform *= pxr::GfMatrix4d(
|
||||||
|
Loading…
Reference in New Issue
Block a user