- Home /
Question by
jintaenate · Aug 22, 2019 at 07:01 AM ·
scripting problemtextureshaders
How to generate texture for hexagon tile?
Hi i am using LWRP to generate Hexagon style tile map.
In LWRP, cant create script shader directly, therefore I generate another way 1. generate mesh and collider for tile from script 2. add materials ( LWRP-Lit) to gameobject 3. generate texture and import to material
Concept like this ..
My question is how could i generate hexagon size texture for tile from script ( because i going to change
color of tile when an event occurs )
Generate hex tile code following from link below.
thanks to read.
colored-cells.png
(46.2 kB)
captur22e.png
(123.8 kB)
Comment
Your answer
