cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

riruilo
Journeyman III

Why does this simple shader not work?

Hi friends.

This simple shader does not work on my ATI HD 3870 but it works on my frined's geforce 6200 (older)

void main() {
if (gl_FragCoord.y>250.0) {
gl_FragColor=vec4(1.0,0.0,1.0,1.0);
} else {
gl_FragColor=gl_Color;
}
}

 

 

See pictures here:

http://www.gamedev.net/community/forums/topic.asp?topic_id=554898

 

Thanks a lot

0 Likes
1 Reply
avk
Adept III

Some Catalyst's versions have their own...quirks. Please state your Catalyst's version and re-post your problem at the nearby topic, "GPU Tools."

0 Likes