|
Post by ironrule on Jun 14, 2016 19:00:46 GMT
Hi,
Recently picked up Honey Hex (very impressive framework) but I've had a question come up as I've been picking through the code that I can't figure out. I'm looking to reduce the amount of blending done between hexes, to make each hex's enviroment a bit more distinct and obvious from its neighbours. At this point though I'm unsure if this is something done in the shaders or as a part of the baking process in WorldOven or perhaps elsewhere that I'm just missing?
Might be an obvious question and I'm just less familiar with shaders and such in Unity at this point, but any help would be great. Thanks.
|
|
|
Post by khash on Jun 14, 2016 19:24:07 GMT
yes, this it is controlled partially by the size of the "hex sprites" which render to the chunk texture, and then by blending value which calculates distance from hex center and is modified by mixer strenght and hex order at this point. My recomendation would be to try to shrink hex mesh used to render independent hexes, but you need to keep an eye for an artifacts which can occur when hexe textures are too small and non of the three neighbours have coverage in some pixels. When you find sweet point for that I will adjust rest in the shaders.
fastest but less nice solution would be to have very little strenght in the mixer so that distance form hex center is more dominant.
|
|