pub fn enable_diffuse_shading(light_pos: Vector3, light_color: Vector3)
Expand description

Enables diffuse shading for the current frame.

Arguments

  • light_pos - A Vector3 representing the position of the light source.
  • light_color - A Vector3 representing the color of the light source.