v2.0.2
Classes | Variables
CC3Material.h File Reference
#import "CC3Texture.h"
#import "CCProtocols.h"
#import "CC3NodeVisitor.h"
#import "CC3ShaderContext.h"

Classes

class  CC3Material
 

Variables

static const ccColor4F kCC3DefaultMaterialColorAmbient = { 0.2f, 0.2f, 0.2f, 1.0f }
 
static const ccColor4F kCC3DefaultMaterialColorDiffuse = { 0.8f, 0.8f, 0.8f, 1.0f }
 
static const ccColor4F kCC3DefaultMaterialColorEmission = { 0.0f, 0.0f, 0.0f, 1.0f }
 
static const ccColor4F kCC3DefaultMaterialColorSpecular = { 0.0f, 0.0f, 0.0f, 1.0f }
 
static const GLfloat kCC3DefaultMaterialReflectivity = 0.0f
 
static const GLfloat kCC3DefaultMaterialShininess = 0.0f
 
static const GLfloat kCC3MaximumMaterialShininess = 128.0f
 

Variable Documentation

const ccColor4F kCC3DefaultMaterialColorAmbient = { 0.2f, 0.2f, 0.2f, 1.0f }
static

Default material color under ambient lighting.

const ccColor4F kCC3DefaultMaterialColorDiffuse = { 0.8f, 0.8f, 0.8f, 1.0f }
static

Default material color under diffuse lighting.

const ccColor4F kCC3DefaultMaterialColorEmission = { 0.0f, 0.0f, 0.0f, 1.0f }
static

Default emissive material color.

const ccColor4F kCC3DefaultMaterialColorSpecular = { 0.0f, 0.0f, 0.0f, 1.0f }
static

Default material color under specular lighting.

const GLfloat kCC3DefaultMaterialReflectivity = 0.0f
static

Default material reflectivity.

const GLfloat kCC3DefaultMaterialShininess = 0.0f
static

Default material shininess.

const GLfloat kCC3MaximumMaterialShininess = 128.0f
static

Maximum material shininess allowed by OpenGL ES.