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.
15 lines
457 B
XML
15 lines
457 B
XML
<root dataType="Struct" type="Duality.Resources.FragmentShader" id="129723834">
|
|
<source dataType="String">uniform sampler2D mainTex;
|
|
|
|
varying vec3 lightIntensity;
|
|
|
|
void main()
|
|
{
|
|
vec4 color = gl_Color * texture2D(mainTex, gl_TexCoord[0].st);
|
|
color.rgb *= lightIntensity;
|
|
gl_FragColor = color;
|
|
}</source>
|
|
<sourcePath dataType="String">Source\Media\PerVertexLighting\VertexLight.frag</sourcePath>
|
|
</root>
|
|
<!-- XmlFormatterBase Document Separator -->
|