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

Shader includes cannot be referenced in program shaders

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              CHK: