Streetware
Streetware
I resolve different shader permutations at runtime, so yes it would be nice to have them. Using different struct definitions isn't very pretty, but I'll consider it if there are...
@DmitriyZagorski-web @NeilHe996 I ended up implementing dispersion myself, it's quite a simple extension. if dispersion is present, turn etaRI and etaRI into a vec3, use the formula on the gltf...
@pixelflinger I added the things you mentioned, as well as some tiny fixes (checking that refraction type is solid in order for dispersion to be enabled). I wasn't able to...