Quote:
What's with the squares and squashed hexagons? Don't recall seeing those in the original version.
Quote:
Quote:
any chance to change the gradient around the opening circle from the "shader colour to white", to "shader colour to transparent"?
I am not so skilled in shaders so this and the squares problem are waiting for Svengali's answer.
The goal for a new shader was better performance, specially when using older gfx-cards. Using
sqrt
instead of
atan2
gets rid of 13 ALU (or
atan(y_over_x)
7 ALU) and lots of instructions, but it has consequences (hexagons and distribution of stars). It's a 'either - or' choice, not a problem - hence the question about Oolites
OO_REDUCED_COMPLEXITY
(which is gone it seems).
Blending is not supported by Oolite for AddOns. The alpha channel is used for brightness.
btw: The reason for the NaN is simply that I thought the shader would be using 0.5..1.5 range, but it uses -0.5..1.5 (gl_Vertex.xy+0.5). Interesting though to see that my driver uses absolute values for
sqrt
which is against the specification. Unfortunately it's nothing that I can solve.
Oh, and if we are at it. It would be a good thing to clarify who is maintaining this AddOn. If it's still Tricky then I don't understand the last weeks, if it's Norby then make it official.
Edit: Forgot to say - thanks kanthoney .-)