R2 Core Shaders
Data Fields
R2_stipple_t Struct Reference

The type of stippling parameters. More...

#include <R2Stipple.h>

Data Fields

sampler2D pattern
 
vec2 pattern_uv_scale
 A scaling value for the noise texture UV coordinates.
 
float threshold
 

Detailed Description

The type of stippling parameters.

Definition at line 11 of file R2Stipple.h.

Field Documentation

§ pattern

sampler2D R2_stipple_t::pattern

A texture giving the stippling pattern. This texture is typically tiled over the whole screen.

Definition at line 14 of file R2Stipple.h.

§ threshold

float R2_stipple_t::threshold

A stippling threshold; The stippling algorithm discards pixels with a stipple values less than this threshold. 0.0 discards no pixels, 1.0 discards all pixels.

Definition at line 20 of file R2Stipple.h.


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