Fuad Omari
unread,Mar 1, 2023, 12:12:27 PMMar 1Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message as abuse
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to The Ring Programming Language
it seems glClearColor(red,green,blue,alpha) does not accept fractional colors , it works only with 0 or 1
as an example
glClearColor(0.9,0.6, 0.0, 1.0) color the background with black instead with brownish
glClearColor(0 , 1, 0.0, 1.0) color the background with green
while
glColor3f(0.9,0.6,0)
glutSolidSphere(1,20,20)
color the sphere with brownish
so we can't adjust the background with the same color of the sphere