Stipple (aka Dither) Shader

Moderator: GZDoom Developers

User avatar
drfrag
Vintage GZDoom Developer
Posts: 3141
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: Stipple (aka Dither) Shader

Post by drfrag »

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
User avatar
Rachael
Posts: 13531
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Stipple (aka Dither) Shader

Post by Rachael »

It's a bad idea to do the static array version. Intel processors do not handle that gracefully, anyone activating it will suffer a massive FPS drop. It's better to not have it at all, than to have a half-finished version.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3141
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: Stipple (aka Dither) Shader

Post by drfrag »

Probably but then they could disable it. On my GT 710 i get the same performance with it enabled. I find curious that the difference is noticeable on my CRT.
Any clues on why the texture version doesn't work? Thanks.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”