An open API service indexing awesome lists of open source software.

https://github.com/viniciusgerevini/godot-color-replacement-example

Here are 3 examples of how to replace color from parts of images (skin, hair, clothes) in Godot
https://github.com/viniciusgerevini/godot-color-replacement-example

Last synced: 3 months ago
JSON representation

Here are 3 examples of how to replace color from parts of images (skin, hair, clothes) in Godot

Awesome Lists containing this project

README

        

# Godot Image Color Replacement Example

This example contains 3 different approaches for changing colors from images dynamically in Godot. Useful for skin, hair and clothes.

Example created for this video: https://www.youtube.com/watch?v=sCZFttl8TZk

## Examples

`./scenes/example_layered.tscn`: Layered approach using modulate to change color from base layers.

`./scenes/example_with_shader.tscn`: Uses a shader to replace a defined color by another one.

`./scenes/example_pixel_color_replace.tscn`: Changes color pixel by pixel via GDScript.