$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
background.frag File Reference

Functions

 layout (location=0) in vec3 RayDir
 
 layout (binding=0) uniform sampler2D environmentMap
 
vec2 SampleEquirectangular (vec3 v)
 
void main ()
 

Variables

const vec2 invAtan = vec2(0.1591, 0.3183)
 

Function Documentation

◆ layout() [1/2]

layout ( binding  = 0)

◆ layout() [2/2]

layout ( location  = 0)

◆ main()

void main ( )
Here is the call graph for this function:

◆ SampleEquirectangular()

vec2 SampleEquirectangular ( vec3  v)

Variable Documentation

◆ invAtan

const vec2 invAtan = vec2(0.1591, 0.3183)