2024-06-04 18:31:04 +02:00
|
|
|
shader_type canvas_item;
|
|
|
|
|
2025-01-08 20:53:45 +01:00
|
|
|
//!load ./images/swamp.jpg
|
2024-12-19 18:52:47 +01:00
|
|
|
|
2024-06-04 18:31:04 +02:00
|
|
|
void fragment() {
|
2024-06-19 14:50:43 +02:00
|
|
|
float b = (COLOR.r + COLOR.g + COLOR.b) / 3.0;
|
|
|
|
COLOR.r = b;
|
|
|
|
COLOR.g = b;
|
|
|
|
COLOR.b = b;
|
2024-06-04 18:31:04 +02:00
|
|
|
}
|