HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: Making glowing objects respect FOG  (Read 983 times)

Prometheus2012

  • General Accounts
  • *
  • Posts: 656
    • View Profile
    • Exile-Online
Making glowing objects respect FOG
« on: Nov 03, 16, 12:24:59 AM »

Anyone which setting makes glowing objects respect fog settings once they are within the fog zone?

ToY-Krun

  • General Accounts
  • *
  • Posts: 677
  • Support Volunteer
    • View Profile
Re: Making glowing objects respect FOG
« Reply #1 on: Nov 03, 16, 06:28:30 AM »

via HSL you could use a trigger/room etc to alter the materialOverride of the objects whch would change the fog/glow settings etc.  all of the materialOverride options can be set via HSL.

To get the proper settings, make the adjustments manually to get what you want during the fog, close it, then copy paste the string from the materialOverride field in the properties panel, to your hsl function.

Prometheus2012

  • General Accounts
  • *
  • Posts: 656
    • View Profile
    • Exile-Online
Re: Making glowing objects respect FOG
« Reply #2 on: Nov 03, 16, 04:38:40 PM »

via HSL you could use a trigger/room etc to alter the materialOverride of the objects whch would change the fog/glow settings etc.  all of the materialOverride options can be set via HSL.

To get the proper settings, make the adjustments manually to get what you want during the fog, close it, then copy paste the string from the materialOverride field in the properties panel, to your hsl function.

Which setting in the material override make glow effected by fog?

Or do you mean make a trigger that tells objects that go within fog to turn down the glow depending on the strength of the fog?

ToY-Krun

  • General Accounts
  • *
  • Posts: 677
  • Support Volunteer
    • View Profile
Re: Making glowing objects respect FOG
« Reply #3 on: Nov 03, 16, 06:02:18 PM »

Quote
Or do you mean make a trigger that tells objects that go within fog to turn down the glow depending on the strength of the fog?

Something more like that.  or you could turn off the glow in fog etc even, but yeah probably would look better just adjusting the level of the glow based on the fog, which could be stored in the triggers "userData" field.