mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-01-19 19:44:46 +00:00
🐛 fix reticle color
This commit is contained in:
parent
864abcd865
commit
286341c06e
|
|
@ -57,7 +57,7 @@ float circle(vec2 pos, float radius, float feather) {
|
|||
void fragment() {
|
||||
// draw reticle
|
||||
float alpha = circle(UV, .5, .04);
|
||||
COLOR = vec4(color.rgb, alpha);
|
||||
COLOR = vec4(texture(TEXTURE, UV).rgb, alpha);
|
||||
}"
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_7blp5"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue