R2 Core Shaders

Functions | Variables
R2TranslucentBasicPremultiplied.frag File Reference

A fragment shader that provides basic textured instances with premultiplied alpha. More...

`#include "R2Fog.h"`
`#include "R2LogDepth.h"`
`#include "R2SurfaceTypes.h"`
`#include "R2View.h"`
`#include "R2Viewport.h"`
Include dependency graph for R2TranslucentBasicPremultiplied.frag:

Go to the source code of this file.

## Functions
| layout (location=0) out vec4 R2_out
void | main (void)

## Variables
in R2_vertex_data_t | R2_vertex_data
uniform sampler2D | R2_texture_albedo
uniform vec4 | R2_color
uniform float | R2_fade_positive_eye_z_near
uniform float | R2_fade_positive_eye_z_far
uniform R2_view_t | R2_view

## Detailed Description

A fragment shader that provides basic textured instances with premultiplied alpha.

Definition in file R2TranslucentBasicPremultiplied.frag.