Godot: Reduction of the number of colors in the Project Settings Quality options

Created on 6 May 2018  路  3Comments  路  Source: godotengine/godot

The ability to reduce the amount of colors like 256 colors in the project settings could allow to convert a 3D game into a retro game. It could be used in combination with a video scaler with sharp pixels for a pixel art look: https://github.com/godotengine/godot/issues/18661

archived feature proposal rendering

Most helpful comment

Modern graphics hardware cannot always use a 16-bit color depth, let alone a 8-bit color depth. Therefore, palette reduction is best done using a shader (which also means you get full control over the palette to use).

All 3 comments

Modern graphics hardware cannot always use a 16-bit color depth, let alone a 8-bit color depth. Therefore, palette reduction is best done using a shader (which also means you get full control over the palette to use).

I think the actual intention is not converting an image to 8/16-bits but actually having an ability to reduce the number of colors alone even if the format is unchanged.

This can be implemented using a paletting shader (as is done in engines like GZDoom), so I'll close this. Video scaling can be implemented using custom viewports or setting the stretch mode to viewport in the Project Settings.

Was this page helpful?
0 / 5 - 0 ratings