# light/shader questions

**URL:** <https://forums.chaos.com/t/light-shader-questions/95078>\
**Category:** General\
**Created:** [July 31, 2019, 8:05am UTC](https://forums.chaos.com/t/light-shader-questions/95078 "2019-07-31T08:05:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jurweer](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@jurweer](https://forums.chaos.com/u/jurweer)\
**Post date:** [July 31, 2019, 8:05am UTC](https://forums.chaos.com/t/light-shader-questions/95078/1 "2019-07-31T08:05:41Z")

</div>

Hi guys, congrats on the release! We took the liberty to get licenses and get going straight away 🙂

We are porting a maya project to houdini and are running in a couple issue/have some questions:

- there is no temperature color mode on any of the lights in houdini. i am not sure if i missed a post or a workaround in the beta forum or if this is coming still. we use this a lot, so a fix for this would be very welcome!

- the standard values for the shadow bias are 0,02 in maya, in houdini its set to 0,002. is there a specific reason for this? I dont see any difference in when comparing them.

- there is a scale parameter missing on lights. in maya we sometime create ellipsoid light from sphere lights. i found the only work around is to add a tranform node inside the light. Although this does work, it is not a very clear solution as we would always have to dive in a light, or make stickynotes etc. A scale parameter on the Transform section of lights would help a lot.

- on the VRayMTL BRDF ( maybe others) there is an Amount slider missing on the Diffuse/Relfect/Refraction parameters. When converting our projects to VfH, we would need to build in this slider as a color multiplied with a float operation on each of these attributes, on all shaders, as the Maya VRay Next shaders have that included. Would be nice to have in VfH too!

- BlendMTL seems to be missing the Base Mat input. Is this the first input when creating BRDF inputs?

Thanks in advance!

We are on Build 3551ba6 from the 26th of July 18:37 with Hou 17.5.293

---

<div class="post-metadata">

**Author:** ![chakarov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/chakarov/32/29561_2.png) [@chakarov](https://forums.chaos.com/u/chakarov)\
**Post date:** [July 31, 2019, 11:37am UTC](https://forums.chaos.com/t/light-shader-questions/95078/2 "2019-07-31T11:37:57Z")

</div>

Hello @jurweer

> [@jurweer](#):
>
> - there is no temperature color mode on any of the lights in houdini. i am not sure if i missed a post or a workaround in the beta forum or if this is coming still. we use this a lot, so a fix for this would be very welcome!

Looks like we miss this one, as a workaround you can use V-Ray TexTemperature and load it as a texture for the light.

> [@jurweer](#):
>
> - the standard values for the shadow bias are 0,02 in maya, in houdini its set to 0,002. is there a specific reason for this? I dont see any difference in when comparing them.

I’m not really sure why this value is chosen, but to get some visible difference you should set a value above 0.1

> [@jurweer](#):
>
> - there is a scale parameter missing on lights. in maya we sometime create ellipsoid light from sphere lights. i found the only work around is to add a tranform node inside the light. Although this does work, it is not a very clear solution as we would always have to dive in a light, or make stickynotes etc. A scale parameter on the Transform section of lights would help a lot.

I really couldn’t get scaled light to be rendered “right” neighter in Houdini or in Maya. Can you send me such a scene?

> [@jurweer](#):
>
> - on the VRayMTL BRDF ( maybe others) there is an Amount slider missing on the Diffuse/Relfect/Refraction parameters. When converting our projects to VfH, we would need to build in this slider as a color multiplied with a float operation on each of these attributes, on all shaders, as the Maya VRay Next shaders have that included. Would be nice to have in VfH too!

I’ve reported this one. As a workaround I can suggest to use ColorOperations with output “result\_a” connected to diffuse input of the V-Ray Material, and connect a userFloat to “mult\_a”. Actually this is what V-Ray in Maya does under the hood.

 ![mayasVRayMtlAmountInHoudini.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/8/6/869de08c02fe60fc131eb1c44c6394ada93b4b8c.png)

> [@jurweer](#):
>
> - BlendMTL seems to be missing the Base Mat input. Is this the first input when creating BRDF inputs?

Yes, it’s the first input “brdf\_1” of the BRDFLayered /Blend material/

---

<div class="post-metadata">

**Author:** ![Gosho.Genchev](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@Gosho.Genchev](https://forums.chaos.com/u/Gosho.Genchev)\
**Post date:** [July 31, 2019, 11:43am UTC](https://forums.chaos.com/t/light-shader-questions/95078/3 "2019-07-31T11:43:13Z")

</div>

Regarding the Shadow Bias on the lights - it used to be the same as in Maya but the scale in Houdini is meters by default, and centimeters in Maya which caused issues with fine details. There was a request a while back to reduce this. 0.002 seemed to work well so we stuck with that. If you stumble upon any trouble, please ping us.

Cheers!

---

<div class="post-metadata">

**Author:** ![jurweer](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@jurweer](https://forums.chaos.com/u/jurweer)\
**Post date:** [July 31, 2019, 12:30pm UTC](https://forums.chaos.com/t/light-shader-questions/95078/4 "2019-07-31T12:30:47Z")

</div>

thanks for the fast reply and reporting some of the things!

will the light temperature be fixed or is the textemperature the houdini way to go? i am asking, cos there are a lot of shaders to convert and i dont want to risk compatibility in future updates…

---

<div class="post-metadata">

**Author:** ![chakarov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/chakarov/32/29561_2.png) [@chakarov](https://forums.chaos.com/u/chakarov)\
**Post date:** [July 31, 2019, 1:02pm UTC](https://forums.chaos.com/t/light-shader-questions/95078/5 "2019-07-31T13:02:41Z")

</div>

Yes, temperature color mode for lights is planned, should be soon, but I can’t give you an estimated date. Anyway there is no reason for compatibility problems, even if you has TexTemperature set to your light.

---

<div class="post-metadata">

**Author:** ![ArthurD](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@ArthurD](https://forums.chaos.com/u/ArthurD)\
**Post date:** [July 31, 2019, 1:33pm UTC](https://forums.chaos.com/t/light-shader-questions/95078/6 "2019-07-31T13:33:56Z")

</div>

The color picker in Houdini has Kelvin temperatures. Just FYI

 ![d8cdb1e6961c476cbd1bc02e2e40f55e.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/4/0/402b7387f3a895d78ce9540378d3f7f51eac1064.png)

---

<div class="post-metadata">

**Author:** ![jurweer](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@jurweer](https://forums.chaos.com/u/jurweer)\
**Post date:** [July 31, 2019, 2:25pm UTC](https://forums.chaos.com/t/light-shader-questions/95078/7 "2019-07-31T14:25:04Z")

</div>

> [@ArthurD](#):
>
> The color picker in Houdini has Kelvin temperatures. Just FYI

thanks for that! i wasnt aware!

---

<div class="post-metadata">

**Author:** ![Gosho.Genchev](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@Gosho.Genchev](https://forums.chaos.com/u/Gosho.Genchev)\
**Post date:** [July 31, 2019, 2:38pm UTC](https://forums.chaos.com/t/light-shader-questions/95078/8 "2019-07-31T14:38:22Z")

</div>

Huh, the more you learn. I wasn’t aware of this either.

@jurweer , is that an option for you guys or should we look into adding the Color Mode drop-down similar to Maya ?

---

<div class="post-metadata">

**Author:** ![jurweer](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@jurweer](https://forums.chaos.com/u/jurweer)\
**Post date:** [July 31, 2019, 2:53pm UTC](https://forums.chaos.com/t/light-shader-questions/95078/9 "2019-07-31T14:53:13Z")

</div>

i guess it has become a habit using the color mode like maya 🙂

the kelvin mode in the color picker seems great to me!
