aboutsummaryrefslogtreecommitdiff
path: root/src/rlgl.h
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2016-05-30 23:25:18 +0200
committerRay <raysan5@gmail.com>2016-05-30 23:25:18 +0200
commit4b93349db575bedb48b8c13e95d37df1ec694387 (patch)
treeafcb06723fd9d4f4c0ae7b7d3e9a3f30e494ae1f /src/rlgl.h
parentea5b00528b0cb1e5cc1e7169a195b75915c8607a (diff)
parent11cf455fe0d2c956043aa70f7d8256c4a339b430 (diff)
downloadraylib-4b93349db575bedb48b8c13e95d37df1ec694387.tar.gz
raylib-4b93349db575bedb48b8c13e95d37df1ec694387.zip
Merge pull request #122 from victorfisac/develop
Standard Lighting (3/3)
Diffstat (limited to 'src/rlgl.h')
-rw-r--r--src/rlgl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index a3ba6cd5..23ad29fb 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -202,12 +202,12 @@ typedef enum { OPENGL_11 = 1, OPENGL_33, OPENGL_ES_20 } GlVersion;
Texture2D texNormal; // Normal texture
Texture2D texSpecular; // Specular texture
+ Color colTint; // Tint color
Color colDiffuse; // Diffuse color
Color colAmbient; // Ambient color
Color colSpecular; // Specular color
float glossiness; // Glossiness level (Ranges from 0 to 1000)
- float normalDepth; // Normal map depth
} Material;
// Light type
@@ -218,7 +218,7 @@ typedef enum { OPENGL_11 = 1, OPENGL_33, OPENGL_ES_20 } GlVersion;
Vector3 position;
Vector3 target; // Used on LIGHT_DIRECTIONAL and LIGHT_SPOT (cone direction target)
- float attenuation; // Lost of light intensity with distance (world distance)
+ float radius; // Lost of light intensity with distance (world distance)
Color diffuse; // Use Vector3 diffuse
float intensity;