1
0

black border color

This commit is contained in:
2025-09-23 05:46:21 +02:00
parent 64e693fe4a
commit 79b66d47ee

View File

@ -68,7 +68,7 @@ vec3 sample_texture(const in vec2 coord) {
vec2 y_coord = texture_center + rectilinear * sensor_to_texture; vec2 y_coord = texture_center + rectilinear * sensor_to_texture;
#ifdef debug_borders #ifdef debug_borders
if (y_coord.x < 0.0 || y_coord.y < 0.0 || y_coord.x > myResolution.x || y_coord.y > myResolution.y) { if (y_coord.x < 0.0 || y_coord.y < 0.0 || y_coord.x > myResolution.x || y_coord.y > myResolution.y) {
return vec3(1.0); return vec3(16.0 / 255.0, 0.5, 0.5);
} }
#endif #endif
vec2 uv_coord = y_coord * 0.5; vec2 uv_coord = y_coord * 0.5;