Advertisement

Latest DesktopGL Activity

@Jimmyberf Along the lines of what Frob suggested:

// output 

float3 outputColor = saturate(ambient + diffuse + specular) * input.Color.rgb;

4,596 views
Advertisement
Advertisement
Advertisement