You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
489 B
Plaintext
16 lines
489 B
Plaintext
2 years ago
|
<root dataType="Struct" type="Duality.Resources.VertexShader" id="129723834">
|
||
|
<source dataType="String">attribute vec4 lightAttrib;
|
||
|
|
||
|
varying vec3 lightIntensity;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
gl_Position = ftransform();
|
||
|
gl_TexCoord[0] = gl_MultiTexCoord0;
|
||
|
gl_FrontColor = gl_Color;
|
||
|
lightIntensity = lightAttrib.xyz;
|
||
|
}</source>
|
||
|
<sourcePath dataType="String">Source\Media\DynamicLightingSample\PerVertexLighting\VertexLight.vert</sourcePath>
|
||
|
</root>
|
||
|
<!-- XmlFormatterBase Document Separator -->
|