Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: terri on April 04, 2016, 06:56:01 AM

Title: Set Material HDR Color
Post by: terri on April 04, 2016, 06:56:01 AM
I using this for setting the Emission color of a material where the HDR combined with a camera's bloom effect creates a glow.

Its not perfect because the color picker in the action behaves differently than the material's, but at least the brightness isn't clamped to 1.
Title: Re: Set Material HDR Color
Post by: jeanfabre on April 05, 2016, 10:44:20 PM
Hi,

 Using the SetMaterialColor action doesn't work? if you use '_EmissionColor' as the namedcolor property?

Bye

 Jean
Title: Re: Set Material HDR Color
Post by: terri on April 06, 2016, 07:47:44 AM
no because it clamps the maximum brightness to 1
related to this: http://docs.unity3d.com/Manual/HDRColorPicker.html
Title: Re: Set Material HDR Color
Post by: jeanfabre on April 06, 2016, 10:32:38 PM
Hi,

That's very good. thanks for the information.

Is it just the emission color that is affected?

 Bye,

 Jean
Title: Re: Set Material HDR Color
Post by: terri on April 07, 2016, 01:34:31 PM
Hm, not sure. Any HDR color I guess, though emission is the only one I know of.
Title: Re: Set Material HDR Color
Post by: jeanfabre on April 14, 2016, 10:47:19 PM
Hi,

 Ok. Care to put it on the Ecosystem? I can do it if you don't think you'll be making more actions.

Bye,

 Jean
Title: Re: Set Material HDR Color
Post by: terri on April 15, 2016, 05:12:27 PM
I never put time into learning how to do that, I'll look into it!
Title: Re: Set Material HDR Color
Post by: jeanfabre on May 02, 2016, 12:25:52 AM
Hi,

 Ok, it's on the Ecosystem (http://j.mp/PlayMakerEcosystem) now.

 Bye,

 Jean
Title: Re: Set Material HDR Color
Post by: Gua on December 24, 2018, 12:03:15 PM
in Unity 2018.3 this action shows this error

(https://i.gyazo.com/42ae26c2b906a13fa7734a4f9c97655c.png)
Title: Re: Set Material HDR Color
Post by: jeanfabre on January 14, 2019, 01:07:54 AM
Hi,

 Can you provide a sample project? I can't reproduce, I must be missing something.

Bye,

 Jean