Path Tracing
Loading...
Searching...
No Matches
GPULight Struct Reference

#include <mesh.hpp>

Public Attributes

vec4 position
vec4 emission
vec4 direction
int type
float radius
float spot_inner
float spot_outer

Detailed Description

Note
vec4 used for padding on the ssbo (w-value not used)
Todo
Replace type hardcoded number to light definitions ex. LIGHT_POINT

Member Data Documentation

◆ direction

vec4 GPULight::direction

◆ emission

vec4 GPULight::emission

◆ position

vec4 GPULight::position

◆ radius

float GPULight::radius

◆ spot_inner

float GPULight::spot_inner

◆ spot_outer

float GPULight::spot_outer

◆ type

int GPULight::type

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