R2 Core Shaders
Data Fields
R2_refraction_t Struct Reference

Data Fields

float scale
 A scaling values for sampled refraction values.
 
vec3 color
 A color by which to multiply the final refracted image.
 
sampler2D scene
 
sampler2D mask
 An image to mask sampling to avoid bleeding.
 

Detailed Description

Definition at line 7 of file R2Refraction.h.

Field Documentation

§ scene

sampler2D R2_refraction_t::scene

An image to act as the source for refraction; typically an image of the rendered scene.

Definition at line 14 of file R2Refraction.h.


The documentation for this struct was generated from the following file: