diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-06-13 16:56:04 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-06-15 01:53:41 +0300 |
commit | 8e5609665fefb004ce2e759a49e063479cf01b3d (patch) | |
tree | bbfdb24ec7c5d5937057dcca794ed5c2dcd9adff /source/blender/makesdna | |
parent | 7439919ac0c4b0146cfed0ddbb8b945fe3675bcb (diff) |
Probe: Add grid probe parameters.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_lightprobe_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_lightprobe_types.h b/source/blender/makesdna/DNA_lightprobe_types.h index 559b02f5497..b66ea443570 100644 --- a/source/blender/makesdna/DNA_lightprobe_types.h +++ b/source/blender/makesdna/DNA_lightprobe_types.h @@ -54,6 +54,11 @@ typedef struct LightProbe { float clipsta, clipend; + int grid_resolution_x; /* Irradiance grid resolution */ + int grid_resolution_y; + int grid_resolution_z; + int pad1; + struct Object *parallax_ob; /* Object to use as a parallax origin */ struct Image *image; /* Image to use on as lighting data */ @@ -67,6 +72,7 @@ enum { LIGHTPROBE_TYPE_CUBE = 0, LIGHTPROBE_TYPE_PLANAR = 1, LIGHTPROBE_TYPE_IMAGE = 2, + LIGHTPROBE_TYPE_GRID = 3, }; /* Probe->flag */ |