ofsphere_setmaterialdiffuse Subroutine

public subroutine ofsphere_setmaterialdiffuse(r, g, b)

Set material parameters for the sphere.

This applies to the current active Sphere.

Arguments

Type IntentOptional Attributes Name
real(kind=real32), intent(in) :: r

Red component of reflectivity for given component.

real(kind=real32), intent(in) :: g

Green component of reflectivity for given component.

real(kind=real32), intent(in) :: b

Blue component of reflectivity for given component.