Fetching Attributes for the Black Body Emission

Houdini Integrated Plugin

Moderator: juanjgon

Post Reply
litesound
Licensed Customer
Posts: 10
Joined: Tue Mar 09, 2021 10:13 am

Is that possible to read point/vertex/primitive attributes to drive "power" parameter in the blackbody emissive shader? I tried everything in all combinations possible with no success. Help me, please
Attachments
attcolor.jpg
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Nope, sorry. Probably this input is not compatible with vertex attributes. Have you tried to use the "efficiency" or "distribution" inputs instead?

Thanks,
-Juanjo
litesound
Licensed Customer
Posts: 10
Joined: Tue Mar 09, 2021 10:13 am

yes, but I can't truly control the intensity of the light cause when I plug my attribute to the distribution pin if the value of my attribute is 0 it still keeps sort of the dim light in the scene despite the light sources are not visible, see the attachment. And if I plug that into the efficiency it increases the light intensity tremendously no matter what value I'm feeding this attribute with. Is there any possible way to control lights intensity color etc with the attributes? Then if not it means that the procedural approach isn't possible with the light?
Attachments
carlight.jpg
litesound
Licensed Customer
Posts: 10
Joined: Tue Mar 09, 2021 10:13 am

I found a solution - MIX materials by color vertex attribute works just fine and it is a reasonably efficient way to procedurally control the intensity of lights
Renbry
Licensed Customer
Posts: 42
Joined: Fri Nov 23, 2018 9:09 am

I'd like to put a vote in for being able to modulate temperature from a vertex float (@temperature)

I'm making Lava right now and spent hours trying to get this to work before giving up. Something like Lava needs the colour mapping from the internal @temperature scalar rather than a single temp or a mix of two.

I'm going to have to figure out how to map up from the Lava Shelf Tool's @Cd method into something that's legitimately HDR instead of 0.0 - 1.0 colour range. Such a long way around the issue : (
Post Reply

Return to “Houdini”