[][src]Struct rin::gl::ImageBasedLight

pub struct ImageBasedLight { /* fields omitted */ }

Image based light

Uses an environment map to do more realistic lighting

It's usually setup with an HDR image for the diffuse light and several levels of the same image processed for different levels of roughness for the specular light

Methods

impl ImageBasedLight
[src]

Create an IBL from already loaded cubmaps, one for the diffuse and another for all the levels of the specular

Diffuse lighting cubemap

Specular lighting cubemap

Multiplier of the light strength

Trait Implementations

impl Light for ImageBasedLight
[src]

Auto Trait Implementations

impl !Send for ImageBasedLight

impl !Sync for ImageBasedLight

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

impl<V> IntoVec for V
[src]

impl<V> IntoPnt for V
[src]

impl<T> Same for T
[src]

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]