R2 Shaders
Functions | Variables
R2DebugNormalCompression.frag File Reference

Treats the input data as a normal vector, compresses it, and writes it to the first fragment output. More...

#include "R2Normals.h"
Include dependency graph for R2DebugNormalCompression.frag:

Go to the source code of this file.

Functions

 layout (location=0) out vec4 R2_out
 
void main (void)
 

Variables

uniform vec4 data
 

Detailed Description

Treats the input data as a normal vector, compresses it, and writes it to the first fragment output.

Definition in file R2DebugNormalCompression.frag.