cancel
Showing results for 
Search instead for 
Did you mean: 

OpenGL & Vulkan

Highlighted
Journeyman III
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)

My driver is 9-11_xp32_dd_ccc_wdm_enu.exe and driver date is 04/11/2009

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 Kudos
Reply