GLSL float to int
Fábián Zsolt <[email protected]> Thu, 31 Jan 2008 02:15:26 -0800
| Newsgroups | gmane.games.devel.opengl |
|---|---|
| Organization | Fat City Network Services, San Diego, California |
| Message-ID | <[email protected]> |
Hi
I have a problem with float to int cast on radeon hd2600 pro, on x1600
it's workin fine:
float asd = 1.0;
int asd3 = int(asd);
if(asd3 > 100)
gl_FragColor.r = 1.0;
and the picture is red. What i'm doing wrong? Maybe is it driver bug?
Best Regards,
Zsolt Fabian
-----
FAQ and OpenGL Resources at:
http://www.geocities.com/SiliconValley/Hills/9956/OpenGL
--
Author: =?ISO-8859-2?Q?F=E1bi=E1n_Zsolt?=
INET: [email protected]
Fat City Hosting, San Diego, California -- http://www.fatcity.com
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [email protected] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB OPENGL-GAMEDEV-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).