playMaker

Author Topic: Set Material HDR Color  (Read 3071 times)

terri

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
    • terrivellmann.tumblr.com
Set Material HDR Color
« 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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: Set Material HDR Color
« Reply #1 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

terri

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
    • terrivellmann.tumblr.com
Re: Set Material HDR Color
« Reply #2 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: Set Material HDR Color
« Reply #3 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

terri

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
    • terrivellmann.tumblr.com
Re: Set Material HDR Color
« Reply #4 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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: Set Material HDR Color
« Reply #5 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

terri

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
    • terrivellmann.tumblr.com
Re: Set Material HDR Color
« Reply #6 on: April 15, 2016, 05:12:27 PM »
I never put time into learning how to do that, I'll look into it!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: Set Material HDR Color
« Reply #7 on: May 02, 2016, 12:25:52 AM »
Hi,

 Ok, it's on the Ecosystem now.

 Bye,

 Jean

Gua

  • Full Member
  • ***
  • Posts: 162
    • View Profile
    • Andrii Vintsevych
Re: Set Material HDR Color
« Reply #8 on: December 24, 2018, 12:03:15 PM »
in Unity 2018.3 this action shows this error


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: Set Material HDR Color
« Reply #9 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