ofwin_setlightdiffuse Subroutine

public subroutine ofwin_setlightdiffuse(row, col, r, g, b)

Set the lighting parameters for the specified grid position.

This applies to the current active WindowProxy.

Note

This can be overridden by enabling light from at least one ReferenceFrame.

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: row

Row in the grid to set.

integer(kind=int32), intent(in) :: col

Column in the grid to set.

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

Red component of specified light.

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

Green component of specified light.

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

Blue component of specified light.