YourOpinionsAreWRONG Posted June 11, 2022 I recently downloaded a film grain shader for a doom WAD but I've no idea how to code it in the actual WAD. HELP!!! Also, is it possible to code the shader in such a way that the amount of grain changes from level to level? GZDOOM builder with UDMF 0 Share this post Link to post
URROVA Posted June 12, 2022 Is it GLSL? For only putting a shader: First you have to put the shader on a separate lump in the wad. Just copy paste the shader code on a lump. Then you have to define the shader on a GLDEFS lump, like this: HardwareShader PostProcess scene { Name "ShaderName" Shader "SHDRLUMP" 330 //Replace SHDRLUMP with the shader lump name. the 330 is the GLSL version, do not change it Enabled //Shader enabled by default } And thats it, but by some reason it only works on ZIP files, i tried making a wad but GZDoom didnt wanted to load the shader as a lump. 0 Share this post Link to post
ramon.dexter Posted June 20, 2022 (edited) Nope, shaders cannot be hidden inside wads. After all, pk3 offers much better advantages over wads. 0 Share this post Link to post