Skip to content
Snippets Groups Projects
Commit 78ecefcf authored by marco's avatar marco
Browse files

fix shader for NVIDIA cards on mac

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/branches/new_gfx@2276 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent aa358099
Branches
Tags
No related merge requests found
......@@ -21,7 +21,7 @@ void main()
// ambient occlusion and color terms
ambient_color = gl_MultiTexCoord0;
} else {
ambient_color.rgb = gl_Color;
ambient_color.rgb = gl_Color.rgb;
ambient_color.a = 1.0;
}
gl_FrontColor=gl_Color;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment