|
R2 Core Shaders
|
Functions and types to render generic refraction. More...

Go to the source code of this file.
Data Structures | |
| struct | R2_refraction_t |
Functions | |
| vec4 | R2_refractionMasked (const R2_refraction_t refraction, const vec4 position_here_clip, const vec3 delta) |
Functions and types to render generic refraction.
Definition in file R2Refraction.h.
| vec4 R2_refractionMasked | ( | const R2_refraction_t | refraction, |
| const vec4 | position_here_clip, | ||
| const vec3 | delta | ||
| ) |
Calculate masked refraction using a given delta vector.
| refraction | Basic refraction parameters |
| position_here_clip | The clip-space coordinates of the surface |
| delta | The delta vector |
Definition at line 30 of file R2Refraction.h.
1.8.12