Highlight on armagetron
- tonybbb
- Average Program
- Posts: 64
- Joined: Sun Aug 26, 2007 5:24 am
- Lucifer
- Project Developer
- Posts: 8765
- Joined: Sun Aug 15, 2004 3:32 pm
- Location: Republic of Texas
Change the numbers after the x.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden
- kyle
- Adjust Outside Corner Grinder
- Posts: 2004
- Joined: Thu Jun 08, 2006 3:33 pm
- Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
- Contact:
-
epsy
- Adjust Outside Corner Grinder
- Posts: 2003
- Joined: Tue Nov 07, 2006 6:02 pm
- Location: paris
- Contact:
- Jonathan
- A Brave Victim
- Posts: 3391
- Joined: Thu Feb 03, 2005 12:50 am
- Location: Not really lurking anymore
Code: Select all
FONT_MIN_R 0.5
FONT_MIN_G 0.5
FONT_MIN_B 0.5
FONT_MIN_TOTAL 0.7
Color components are scaled to 0-1.
if(r < FONT_MIN_R && g < FONT_MIN_G && b < FONT_MIN_B || r + g + b < FONT_MIN_TOTAL)
add background- Jonathan
- A Brave Victim
- Posts: 3391
- Joined: Thu Feb 03, 2005 12:50 am
- Location: Not really lurking anymore
-
Concord
- Reverse Outside Corner Grinder
- Posts: 1661
- Joined: Sun Oct 21, 2007 5:24 pm
translated
into english
its saying
into english
its saying
Code: Select all
if the red value is less than FONT_MIN_R setting and the green value is less than FONT_MIN_G setting the blue value is less than FONT_MIN_B setting, or if the red value plus the green value plus the blue value is less than FONT_MIN_TOTAL, then a background is added.