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

Functions

 layout (location=0) out vec4 FragColor
 
header billboard_ubo glsl layout (binding=15) uniform sampler2D irradianceMap
 
bool intersectSphere (vec3 ro, vec3 rd, vec3 center, float radius, out float t, out vec3 normal, out float discriminant, out bool isInside)
 
void main ()
 

Variables

header pbr_functions glsl
 

Function Documentation

◆ intersectSphere()

bool intersectSphere ( vec3  ro,
vec3  rd,
vec3  center,
float  radius,
out float  t,
out vec3  normal,
out float  discriminant,
out bool  isInside 
)

◆ layout() [1/2]

header billboard_ubo glsl layout ( binding  = 15)

◆ layout() [2/2]

layout ( location  = 0)

◆ main()

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

Variable Documentation

◆ glsl

header pbr_functions glsl