diff options
| author | Ray <raysan5@gmail.com> | 2016-05-30 23:25:18 +0200 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2016-05-30 23:25:18 +0200 |
| commit | 4b93349db575bedb48b8c13e95d37df1ec694387 (patch) | |
| tree | afcb06723fd9d4f4c0ae7b7d3e9a3f30e494ae1f /src/rlgl.h | |
| parent | ea5b00528b0cb1e5cc1e7169a195b75915c8607a (diff) | |
| parent | 11cf455fe0d2c956043aa70f7d8256c4a339b430 (diff) | |
| download | raylib-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |
