forked from blender/blender
Need to do the same light power as Cycles in Watts for Hydra RPR #34
@ -47,7 +47,8 @@ void LightData::init()
|
||||
break;
|
||||
|
||||
case LA_SPOT:
|
||||
data_[pxr::UsdLuxTokens->inputsShapingConeAngle] = light->spotsize / 2.0f * 180.0f / float(M_PI);
|
||||
data_[pxr::UsdLuxTokens->inputsShapingConeAngle] = light->spotsize / 2.0f * 180.0f /
|
||||
float(M_PI);
|
||||
data_[pxr::UsdLuxTokens->inputsShapingConeSoftness] = light->spotblend;
|
||||
data_[pxr::UsdLuxTokens->treatAsPoint] = true;
|
||||
intensity /= 10.0f;
|
||||
|
Loading…
Reference in New Issue
Block a user