Commits

David Rogers committed e4da798

Fix a few more sample issues in both DX and GL

Comments (0)

Files changed (2)

Samples/Media/materials/programs/AmbientOneTexture.glsl

 uniform vec4 ambient;
-uniform mat4 worldViewProj;
-
-attribute vec4 position;
 
 /*
   Basic ambient lighting vertex program
 */
 void main()
 {
-	gl_Position = worldViewProj * position;
+	gl_Position = ftransform();
 	gl_TexCoord[0] = gl_MultiTexCoord0;
 	gl_FrontColor = ambient;
 }

Samples/Media/materials/scripts/StdQuad_vp.program

 {
 	source StdQuad_vp.cg
 	entry_point StdQuad_vp
-	profiles vs_4_0 vs_3_0 vs_1_1 arbvp1
+    profiles vs_4_0 vs_2_0 vs_1_1 arbvp1
 
 	default_params
 	{