Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-230329

Shader includes cannot be referenced in program shaders

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.17.1 Pre-release 1, 1.17.1 Pre-release 2, 1.17.1, 1.18 Pre-release 5
    • Confirmed
    • (Unassigned)

      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:

      1. Download the provided resource pack, set video graphics to Fabulous!
      2. Loading the resource pack will fail, as the shader compiler fails to import the function 'example' from the include file.

            Unassigned Unassigned
            onnowhere Onnowhere
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: