Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: pietwelve on January 18, 2020, 03:59:52 PM

Title: set Material float : intensity (HDR) [SOLVED]
Post by: pietwelve on January 18, 2020, 03:59:52 PM
Hello,
I'd like to set the "intensity" Albedo HDR Color value of a  Particle/Stdrd Untity Shader.
Can't have a predictive result with the "Set Material HDR color" Action from the ecosystem.
So i'm trying the "set Material float " Action.
The action needs the "Named Float". Any idea what is the intensity "Named Float" ?
Don't see it in the shader properties.
Thanks  :-)
Title: Re: set Material float : intensity (HDR)
Post by: djaydino on January 18, 2020, 11:06:41 PM
Hi.
Try "_EmissionPower"

Also if you want this only on a certain object instead of all objects with that material, use this :
"Set Material Property Block Float" (Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181))
Title: Re: set Material float : intensity (HDR)
Post by: pietwelve on January 20, 2020, 09:30:22 PM
Thanks again djaydino,

I did not succed in setting up the Albedo (HDR) intensity even with "_EmissionPower" in the "set Material float " Action.
Instead i checked the Emission property and set its value with "_EmissionColor" as the name color.
Not exactly what i wanted but the job is done ok.

Not tested the "Set Material Property Block Float" (Ecosystem) yet
but i will asap :-)   Thanks for the interesting idear !
Title: Re: set Material float : intensity (HDR)
Post by: djaydino on January 21, 2020, 12:36:35 AM
Hi.

This list can be helpful as well :)

(https://answers.unity.com/storage/temp/67836-capture1.png)
Title: Re: set Material float : intensity (HDR)
Post by: pietwelve on January 21, 2020, 07:46:21 PM
Yes indeed :-)