playMaker

Author Topic: UNITY 2018 HD "Lit Shader" [SOLVED]  (Read 325 times)

NinjaX

  • Full Member
  • ***
  • Posts: 108
  • XCO is the ULTIMATE IOS Ninja!!
    • View Profile
    • XCOGAMES
UNITY 2018 HD "Lit Shader" [SOLVED]
« on: November 10, 2018, 06:56:02 AM »
Hello PLAYMAKER GODS (11011 11011) :)

It seems that the "get color" and "Set color" actions don't work with the new UNITY 2018 HDRP "lit Shader" and I was wondering if you guys have an action for it that would work ? I really need to access the color on the shader for my customization mode.

Thank you playmaker GODS I shall start to chant the official Playmaker God chant 11011 11011 in anticipation of your help. :D
« Last Edit: November 19, 2018, 01:19:34 AM by jeanfabre »
XCO is the ULTIMATE IOS Ninja, Beware for he sees Everything and Nothing all at once!

NinjaX

  • Full Member
  • ***
  • Posts: 108
  • XCO is the ULTIMATE IOS Ninja!!
    • View Profile
    • XCOGAMES
Re: UNITY 2018 HD "Lit Shader"
« Reply #1 on: November 12, 2018, 07:59:50 AM »
BUMP

Any chance you can help me with this Jean ? It's cool if you can't but I at least need to know... Super thank you my man!
XCO is the ULTIMATE IOS Ninja, Beware for he sees Everything and Nothing all at once!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13635
  • Official Playmaker Support
    • View Profile
Re: UNITY 2018 HD "Lit Shader"
« Reply #2 on: November 12, 2018, 10:04:35 PM »
Hi,

 Thanks for bumping, it's needed.

so, I think you just need to look into the shader to check the property names:



Else, can you share the material and shader or make a screenshot of what you have on your end?

 Bye,

 Jean


NinjaX

  • Full Member
  • ***
  • Posts: 108
  • XCO is the ULTIMATE IOS Ninja!!
    • View Profile
    • XCOGAMES
Re: UNITY 2018 HD "Lit Shader"
« Reply #3 on: November 13, 2018, 06:38:34 AM »
My editor freezes every-time I try to select the shader :|
XCO is the ULTIMATE IOS Ninja, Beware for he sees Everything and Nothing all at once!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13635
  • Official Playmaker Support
    • View Profile
Re: UNITY 2018 HD "Lit Shader"
« Reply #4 on: November 13, 2018, 11:14:05 PM »
... not cool.

 what version of 2018 are you using?

Bye,

 Jean

NinjaX

  • Full Member
  • ***
  • Posts: 108
  • XCO is the ULTIMATE IOS Ninja!!
    • View Profile
    • XCOGAMES
Re: UNITY 2018 HD "Lit Shader"
« Reply #5 on: November 14, 2018, 07:32:32 AM »
I sorta jumped on HD wagon really early and now I can't update my game, cause it has like a million moving parts... but I am on 2018.1.2f1

« Last Edit: November 14, 2018, 07:09:22 PM by NinjaX »
XCO is the ULTIMATE IOS Ninja, Beware for he sees Everything and Nothing all at once!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13635
  • Official Playmaker Support
    • View Profile
Re: UNITY 2018 HD "Lit Shader"
« Reply #6 on: November 14, 2018, 10:32:09 PM »
Hi,

 yeah, always make sure you wait for at least few release cycles for using new features...

Bye,

 Jean

NinjaX

  • Full Member
  • ***
  • Posts: 108
  • XCO is the ULTIMATE IOS Ninja!!
    • View Profile
    • XCOGAMES
Re: UNITY 2018 HD "Lit Shader"
« Reply #7 on: November 15, 2018, 04:38:45 AM »
OK Ty good advice, but does that mean you cant make an action for the color ?
XCO is the ULTIMATE IOS Ninja, Beware for he sees Everything and Nothing all at once!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13635
  • Official Playmaker Support
    • View Profile
Re: UNITY 2018 HD "Lit Shader"
« Reply #8 on: November 15, 2018, 10:53:19 PM »
Hi,

 I am pretty sure the action works already, but you need to know the right name of the property, and if you can't access your shader, then you are in trouble...

so let me know when you can make that screenshot like I did, and once you did if you tried to access that property like it is referenced in the shader.

Bye,

 Jean

NinjaX

  • Full Member
  • ***
  • Posts: 108
  • XCO is the ULTIMATE IOS Ninja!!
    • View Profile
    • XCOGAMES
Re: UNITY 2018 HD "Lit Shader"
« Reply #9 on: November 16, 2018, 07:44:25 AM »
Ahh I see, ty my man, I know your super busy, so Thank You for helping me. :)
XCO is the ULTIMATE IOS Ninja, Beware for he sees Everything and Nothing all at once!

NinjaX

  • Full Member
  • ***
  • Posts: 108
  • XCO is the ULTIMATE IOS Ninja!!
    • View Profile
    • XCOGAMES
Re: UNITY 2018 HD "Lit Shader"
« Reply #10 on: November 16, 2018, 02:18:24 PM »
Here you go JEAN (I downloaded Unity 2018.2 just for this)

I really need help with this, I try not to bother you unless I need too. TY again for your help.
XCO is the ULTIMATE IOS Ninja, Beware for he sees Everything and Nothing all at once!

NinjaX

  • Full Member
  • ***
  • Posts: 108
  • XCO is the ULTIMATE IOS Ninja!!
    • View Profile
    • XCOGAMES
Re: UNITY 2018 HD "Lit Shader"
« Reply #11 on: November 16, 2018, 04:26:05 PM »
From my experiments if you use the "Get Property" and select the Material you want to use and than go under: Color/ MaxColorComponent, you can than save that as a float variable.

But changing that variable at runtime does not change the color, even though changing the color (manually) shows the variable changing. I dunno...
XCO is the ULTIMATE IOS Ninja, Beware for he sees Everything and Nothing all at once!

NinjaX

  • Full Member
  • ***
  • Posts: 108
  • XCO is the ULTIMATE IOS Ninja!!
    • View Profile
    • XCOGAMES
Re: UNITY 2018 HD "Lit Shader"
« Reply #12 on: November 16, 2018, 09:15:06 PM »
OK sorry I figured it out:

 _BaseColor Sorry it was right there sorry. TY for the help :)
XCO is the ULTIMATE IOS Ninja, Beware for he sees Everything and Nothing all at once!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13635
  • Official Playmaker Support
    • View Profile
Re: UNITY 2018 HD "Lit Shader"
« Reply #13 on: November 19, 2018, 01:19:24 AM »
Hi,

 Cool :)

Bye,

 Jean