reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofShadow::Data Class Reference

#include <ofShadow.h>

Public Attributes

glm::vec3 position = {0,0,0}
 
glm::vec3 direction = {1,0,0}
 
glm::vec3 up = {0,1,0}
 
glm::vec3 right = {1,0,0}
 
int lightType = 0
 
ofShadowType shadowType = OF_SHADOW_TYPE_PCF_LOW
 
glm::mat4 shadowMatrix
 
float strength = 0.5
 
int texIndex = 0
 
bool isEnabled = false
 
float bias = 0.005f
 
float normalBias = 0.0
 
int numDepthPasses = 1
 
int index = -1
 
float nearClip = 1
 
float farClip = 1500
 
float sampleRadius = 1.f
 

Member Data Documentation

◆ bias

float ofShadow::Data::bias = 0.005f

◆ direction

glm::vec3 ofShadow::Data::direction = {1,0,0}

◆ farClip

float ofShadow::Data::farClip = 1500

◆ index

int ofShadow::Data::index = -1

◆ isEnabled

bool ofShadow::Data::isEnabled = false

◆ lightType

int ofShadow::Data::lightType = 0

◆ nearClip

float ofShadow::Data::nearClip = 1

◆ normalBias

float ofShadow::Data::normalBias = 0.0

◆ numDepthPasses

int ofShadow::Data::numDepthPasses = 1

◆ position

glm::vec3 ofShadow::Data::position = {0,0,0}

◆ right

glm::vec3 ofShadow::Data::right = {1,0,0}

◆ sampleRadius

float ofShadow::Data::sampleRadius = 1.f

◆ shadowMatrix

glm::mat4 ofShadow::Data::shadowMatrix

◆ shadowType

ofShadowType ofShadow::Data::shadowType = OF_SHADOW_TYPE_PCF_LOW

◆ strength

float ofShadow::Data::strength = 0.5

◆ texIndex

int ofShadow::Data::texIndex = 0

◆ up

glm::vec3 ofShadow::Data::up = {0,1,0}

The documentation for this class was generated from the following file:
  • /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/gl/ofShadow.h