M
M
madved2019-08-24 01:09:14
JavaScript
madved, 2019-08-24 01:09:14

How to desaturate a texture in three.js?

In general, it's just a texture with a png image on a sprite, the task is to discolor this image / texture in runtime.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freelion93, 2019-08-26
@freelion93

Several solutions are possible, the easiest is to make the same in monochrome and change it for whatever event you need. In general, here is a tutorial on post-processing: https://threejsfundamentals.org/threejs/lessons/th...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question