

On console, we are not allowed to compile shaders (or scripts for that matter. (This is also why you need to use the correct format!)

For example, one house that has a DXT5 texture and another house with a DXT1 texture are 2 different compilations because of the alpha channel. Variations are both shader configurations (customShaderVariation) but also which textures you use, and in what format the textures are. Import here is that the shader needs to be build for every variation. Most games that run on PC just supply the source code (the shader.xml files in our case) and then they are compiled (turned into programs) when the game starts or when the shader is needed. Shaders are pieces of software that run on your graphics card. Hopefully this will clear some things up for you modders out there and make your life easier when bringing your mod to consoles!Ī little background detail for why this all is an issue on consoles and not on PC: Once the changes have been made to the material and its elements causing the shader fail, you should resubmit and we will check if the issue was resolved.

So, the correct elements in this case would look something like this: i3d file - make sure it has the proper elements assigned to remove the shader fail. MASK_ALPHA_TESTING <- Elements that are missing from the list above and need to be included/exchanged with the faulty ones to remove the fail.įAIL (Material maple5LOD_mat, Hash 0000000) <- This is the material name you need to search for in your. MASK_ALPHA_BLENDING <- Elements that are incorrect and not present in the list below are most likely causing the fail. You need to spot the difference between both to determine the problem:Ĭustom shader: data/shaders/treeBillboardShader.xml <- The specific shader having the problem, sometimes the material used needs another shader altogether. Now, to solve these fails, check out the color codes down below - a shader fail report is split into two parts, the first one listing the material and all its current elements and the second part showing the elements it should have assigned for it to work properly on console. txt file including all the shader/material fails. If you want to receive the full list of fails, feel free to open up a ticket in our ModHub Messenger anytime and provide your eMail address - we can then send you a.

To communicate these fails we will only send you a bulk of them if there simply are too many. Some mods come with a few, others come with hundreds. The above example shows entries for ONE shader fail only, respectively per material. Custom shader: data/shaders/treeBillboardShader.xml
