|
Post by timithy on Mar 1, 2017 20:17:09 GMT
Hi
I'm new to Honey and I wonder, if there is any solution available to have a marker for actors at the terrain. For example for highlighting the current active unit.
As far as I can see, there are only markers on hex positions possible, but a actor marker would need a marker on world position. I tried to use a projector shader for it, but it does not work with DX11 shaders on terrain with positive height (like hills and mountains).
I'm not a shader expert, but I guess the tessellation vertex output of the terrain shaders is not passed to the vertex shader of the projector, thus the projection is rendered on the original terrain surface only.
How did you solve it for Thea? Or do you have another idea or an approach to pass the correct vertices to the projection shader?
Best regards, Tim
|
|
|
Post by khash on Jun 13, 2017 13:32:27 GMT
in thea we are using only hex markers, I'm not sure what exactly you are trying to achieve, but hex markers offers fairly precise drawing system so you might want to do something similar but provide unit position instead of hex position and draw in offset form it. It is an interesting challenge though if you want to do it that way
|
|