Shader includes cannot be referenced in program shaders
Shader includes in shaders/include/* cannot be imported with #moj_import inside of program shaders in shaders/program/*. Expected behavior would have been that includes are supported for shader programs within the shader directory.
To Reproduce:
- Download the provided resource pack, set video graphics to Fabulous!
- Loading the resource pack will fail, as the shader compiler fails to import the function 'example' from the include file.
2021-06-26, 02:42 PM
2022-03-10, 08:49 PM
6
5
core, include, program, shaders
1.17.1 Pre-release 1, 1.17.1 Pre-release 2, 1.17.1, 1.18 Pre-release 5
-