com.io7m.r2.core.shaders.provided

## Interface R2RefractionMaskedDeltaParametersType

- All Known Implementing Classes:
    R2RefractionMaskedDeltaParameters

      public interface R2RefractionMaskedDeltaParametersType

  Parameters for the refractive masked delta shader.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType>` | `color()`
    `R2Texture2DUsableType` | `deltaTexture()`
    `R2Texture2DUsableType` | `maskTexture()`
    `default float` | `scale()` The scale value applied to vectors for the refraction effect.
    `R2Texture2DUsableType` | `sceneTexture()`

- - ### Method Detail

    - #### scale

          default float scale()

      The scale value applied to vectors for the refraction effect. The effect works purely in screen-space and passing in a too-large value here will typically result in artifacts.
      Returns:
        A value by which to scale delta vectors for refraction

    - #### color

          default com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType> color()

      Returns:
        A color value by which to multiply the final refracted image

    - #### sceneTexture

          R2Texture2DUsableType sceneTexture()

      Returns:
        The scene texture that will be used as the source of refraction

    - #### maskTexture

          R2Texture2DUsableType maskTexture()

      Returns:
        The mask texture that will be used to control sampling

    - #### deltaTexture

          R2Texture2DUsableType deltaTexture()

      Returns:
        The delta texture that will be used as the source of refraction vectors

Copyright © 2016 <code@io7m.com> http://io7m.com