PlanetRenderer
PlanetRenderer copied to clipboard
Index out of range in the shader
The recursion can stop on the level 0. In the shader, in that case, you examine the table lut on indice -1. You can see that by not calling the recursion, but just directly put an icosaedron triangle in the buffer. You will see that the morphing is inversed.
Both issues had been resolved in https://github.com/Niverton/CDLOD
Oh cool, I had no idea about your project, it would have been awesome to have it as a fork from my repository so I could pull in your additions.
That said, I am not actually actively maintaining this repository anymore, but I might try fixing it in my Engine where I continue working on Planet Rendering here https://github.com/Illation/ETEngine, so that is probably a better place to put in issues.
I'd love to learn more about what you are doing and keep in touch about your project though, it sounds interesting. From what I can tell you are adding procedural generation to it?