Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - yan

Pages: [1]
1
Support / Re: LWRP + Shader Graph support for TGS
« on: January 05, 2020, 05:49:26 AM »
here are some screenshots showing what I mean.

2
Support / Re: LWRP + Shader Graph support for TGS
« on: January 04, 2020, 05:22:56 PM »
Territory colors and borders do not render when I apply a terrain shader I built using shader graph. I do see the TGS parts that do not overlap with the terrain when I increase grid elevation. Any ideas what I am missing?

Thanks

3
Support / LWRP + Shader Graph support for TGS
« on: January 04, 2020, 04:13:43 PM »
Is there any chance to get LWRP + Shader Graph support for TGS?

Best Regards

4
Support / Re: TGS Set territory colours
« on: December 22, 2019, 06:58:12 PM »
Calling CellSetTerritory at runtime seems to clear all cell colors. Subsequently iterating over territories to reset their color causes a ca. 0.5-1 second freeze. The same happens when setting the color for a single cell. Do you have any ideas what I could be overlooking?

Also, CellFlash, CellBlink, CellColorTemp and CellFadeOut all cause z-fighting, which I was not able to fix yet by changing Elevation, ElevationBase or DepthOffset values. Should the latter be called when building the gridgraph initially or at the same time the former are being called? Or is there some other fix for this?

Best regards and many thanks!

5
Feature Requests / Re: Use with procedurally generated mesh
« on: April 25, 2019, 07:23:32 AM »
I see. Thanks for the quick reply. Would it be a big leap to get it to work with a homogeneous projection on the entire sphere the way it is with the Hexasphere System? I would be very interested in this for the near future.

Best regards

6
Feature Requests / Re: Use with procedurally generated mesh
« on: April 25, 2019, 02:07:38 AM »
amazing work implementing this in the new update! I really appreciate this. I haven't had the chance to try it yet, but would it possible to make irregular topography work on globe/sphere meshes as well?

Best regards

7
Excellent! Thanks!

8
how do I access the territory associated with a cell in 3D space in script? I tried doing:

Code
cellCenter = tgs.CellGetPosition(cellIndex);
Vector3 cellCenterInLocalSpaceOfTerrain = terrain.transform.InverseTransformPoint(cellCenter);
Vector2 cellCenterV2 = new Vector2(cellCenterInLocalSpaceOfTerrain.x, cellCenterInLocalSpaceOfTerrain.z);
tgs.TerritoryGetAtPosition(cellCenterV2)
...but figured tgs.TerritoryGetAtPosition() is only meant for 2D maps, since it was returning empty (not null). Is there something similar for 3D space or another way to get the territory that is associated with a cell or vice versa?

9
Developer's Corner / Re: Asset Request: Optimized RTS unit system
« on: March 15, 2019, 01:36:27 PM »
I'm sure you have the ECS on your radar by now. Would be great to see an easily accessible asset with a degree of ECS implementation!

Pages: [1]