Hi there, I know my Java, but am a complete newbie regarding 3d, games etc.
Busy doing the tutorials, on HelloTerrain. I see the "splatting", merging 3 different textures using the RGB channels of an image. Nice.
Now, how would I merge more than 3 textures?
It looks to me that the splatting may actually be done in Terrain.frag, so am I right in guessing that I would need to make a new Material, and implement the splatting in a new .frag that I would need to write?
Also, about the .frag, this is GLSL, right? Its OpenGL shader language, right?
I see the material definition references the .frag like this:
VertexShader GLSL100: Common/MatDefs/Terrain/Terrain.vert
Wikipedia tells me there are multiple different versions of GLSL. Would that line look the same regardless of what version of GLSL the .frag is written in? Or is the version number encoded in the
Lastly, any guidance on which version of GLSL I should learn/target?