I would like to see contrast crosshair in future releases of MT.
On dark background it is light.
On light background it is dark.
On grey background it is (no, not grey) light.... contrast anyway.
I thought something is broken and now I don't have a crosshair. It turns out I was pointing to the sun — white crosshair on white background.
I think it will not be so hard to implement.
Contrast crosshair
- kaadmy
- Member
- Posts: 706
- Joined: Thu Aug 27, 2015 23:07
- GitHub: kaadmy
- IRC: KaadmY
- In-game: KaadmY kaadmy NeD
Re: Contrast crosshair
Minecraft has a per-pixel shader to change the crosshair color to the opposite of what's behind it, it's actually morehelpful than you'd think.
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: Contrast crosshair
The crosshair can be customised by using a crosshair texture in a texture pack, see https://github.com/minetest/minetest/bl ... ks.txt#L60
Re: Contrast crosshair
What dimensions of texture should be? 8x8? 16x16?paramat wrote:The crosshair can be customised by using a crosshair texture in a texture pack, see https://github.com/minetest/minetest/bl ... ks.txt#L60
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
Re: Contrast crosshair
It may be any size. It's rendered 1:1 on the screen.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!
Check out my stuff! | Donations greatly appreciated! PayPal
Check out my stuff! | Donations greatly appreciated! PayPal
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
Re: Contrast crosshair
Something like this should work fairly well:
1x:
10x:
1x:
10x:
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!
Check out my stuff! | Donations greatly appreciated! PayPal
Check out my stuff! | Donations greatly appreciated! PayPal
Re: Contrast crosshair
I tried many different crosshair textures. And found the best (at least for me).
Scheme:
Texture has 21px × 21px size. Grey color is transparent area.
Texture:
(download and try it)
Screenshots:
(click for full view):
Scheme:
Texture has 21px × 21px size. Grey color is transparent area.
Texture:
(download and try it)
Screenshots:
(click for full view):
- Attachments
-
- Crosshair for Minetest
- crosshair7.png (115 Bytes) Viewed 472 times
-
- crosshair7-big.png (742 Bytes) Viewed 473 times
Last edited by Sergey on Sun Feb 19, 2017 15:30, edited 11 times in total.
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: Contrast crosshair
Inspired from the Moorhuhn shooter games with semitransparent pixels:
EDIT: It would also be possible to use the cursor as crosshair, to prank friends.
EDIT: It would also be possible to use the cursor as crosshair, to prank friends.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
-
- Member
- Posts: 3015
- Joined: Sun Jan 18, 2015 13:02
- GitHub: ABJ-MV
- In-game: ABJ
- Location: In Earth orbit, with a perigee of 1048 km and an apogee of 1337 km and an inclination of 69 degrees.
Re: Contrast crosshair
I would personally prefer a crosshair with contrasting middle and outlines. Would be so goddamn confusing to find in a shady-lighty background.
Who is online
Users browsing this forum: No registered users and 20 guests