@hejpaget Thanks. See the description for a link to the latest video. The terrain is a plane, no gaps. The fragment shader is used to do all the colouring based on height, but where a grid line is it is coloured differently (more brightly). We used modulus to determine regular line intervals. Superficial texture coordinates are used to tell the fragment shader the location on the grid (between 0 and 1) for the pixel being considered.
@hejpaget Thanks. See the description for a link to the latest video. The terrain is a plane, no gaps. The fragment shader is used to do all the colouring based on height, but where a grid line is it is coloured differently (more brightly). We used modulus to determine regular line intervals. Superficial texture coordinates are used to tell the fragment shader the location on the grid (between 0 and 1) for the pixel being considered.
paul4806 8 months ago
Looks pretty cool.
How do you make the lines glow? I've been trying to that using GLSL but so far haven't managed to.
hejpaget 8 months ago