Skip to content

Use dithering in gradientshader and skyshader to reduce banding#82

Merged
dmarcos merged 1 commit intosupermedium:masterfrom
mrxz:sky-dithering
Apr 22, 2023
Merged

Use dithering in gradientshader and skyshader to reduce banding#82
dmarcos merged 1 commit intosupermedium:masterfrom
mrxz:sky-dithering

Conversation

@mrxz
Copy link
Contributor

@mrxz mrxz commented Jan 10, 2023

The custom sky shaders for the gradient and atmosphere sky types can exhibit very noticeable banding. TRHEE.js has shader chunks that perform dithering to reduce this. This PR introduces the dithering in both shaders:

Before After
image image

@dmarcos
Copy link
Member

dmarcos commented Apr 22, 2023

Thanks so much for the patience. This is awesome work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants