Author Topic: Hexagonal net code  (Read 37 times)

devCoderZero

  • Newbie
  • *
  • Posts: 42
    • View Profile
Hexagonal net code
« on: November 08, 2020, 01:45:01 PM »
Hello,

I am trying to find the code that generates the hexagonal net, that can fade in and out depending on distance from the camera. But not sure where it is placed. Shader or csharp code, or both?

Anyone that can point me in the right direction?

Best regards.

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 6345
    • View Profile
Re: Hexagonal net code
« Reply #1 on: November 09, 2020, 08:52:02 AM »
Hi,

I think the code you're looking for is in AdjustsGridAlpha() method in WMSKPrivGrid.cs.

Regards

devCoderZero

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: Hexagonal net code
« Reply #2 on: November 09, 2020, 12:08:17 PM »
Thanks, I will check it out.
:-)