]> 0250250Artist Editor1001-101001020013453133917900138219300200061122083817910312502508180250250Workspace1000-107074001250250001250250121120250250Output1002-10110110382193gLightPos1100-1041616300152321662444238219311611382193000339179gLightColor1101-1032020300192320262401233917912011339179002920 ]]> 0) { float3 reflection = normalize( input.reflection); float3 viewDir = normalize( input.viewDir); specular = dot( reflection, -viewDir); specular = saturate( specular); specular = pow( specular, 20); float4 specularIntensity = tex2D(SpecularSampler, input.uv); specular = gLightColor * specularIntensity.rgb * specular; } float3 ambient = float3( 0.1f, 0.1f, 0.1f) * albedo; return( float4( ambient + specular + diffuse, 1.0f) ); } ]]>