Re: Stipple (aka Dither) Shader
Posted: Tue Oct 09, 2018 2:22 pm
Sorry for the bump but finally i've ported this to LZDoom, the static array not the texture version. It could go into the vintage build as well.
The texture version doesn't work, i guess that one requires hw_postprocess. In any case i don't know how to specify the layout for the DitherTexture outside of the shader.
I've found a minor problem: the texunit parameter for BindDitherTexture is not used.
It's here:
https://github.com/drfrag666/gzdoom/com ... 007e7a3285
https://github.com/drfrag666/gzdoom/commits/dither2
The texture version doesn't work, i guess that one requires hw_postprocess. In any case i don't know how to specify the layout for the DitherTexture outside of the shader.
I've found a minor problem: the texunit parameter for BindDitherTexture is not used.
It's here:
https://github.com/drfrag666/gzdoom/com ... 007e7a3285
https://github.com/drfrag666/gzdoom/commits/dither2