diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2018-05-25 15:52:38 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2018-05-25 14:52:37 +0000 |
commit | c3fc5daa864af9bc42e30dd7dd3cd7a587b65f95 (patch) | |
tree | 489a8d0bd8305680aceddddd19564c80f3a87d9c /res | |
parent | 98716ea81c18cae47f7ec14f510ba22859967aff (diff) |
Provide the max lights from the shader generator
Change-Id: I1ab6cc51f1cf1eddd2f0d197b300a1719960d795
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'res')
-rw-r--r-- | res/effectlib/funcareaLightVars.glsllib | 2 | ||||
-rw-r--r-- | res/effectlib/funcsampleLightVars.glsllib | 2 | ||||
-rw-r--r-- | res/effectlib/gles2/funcareaLightVars.glsllib | 2 | ||||
-rw-r--r-- | res/effectlib/gles2/funcsampleLightVars.glsllib | 3 |
4 files changed, 0 insertions, 9 deletions
diff --git a/res/effectlib/funcareaLightVars.glsllib b/res/effectlib/funcareaLightVars.glsllib index 7505b34..6c92938 100644 --- a/res/effectlib/funcareaLightVars.glsllib +++ b/res/effectlib/funcareaLightVars.glsllib @@ -1,5 +1,3 @@ -#define MAX_AREA_LIGHTS 16 - // note this struct must exactly match the memory layout of the // struct SLightSourceShader in the source code. If you make changes here you need // to adjust the struct SLightSourceShader as well diff --git a/res/effectlib/funcsampleLightVars.glsllib b/res/effectlib/funcsampleLightVars.glsllib index 8c7410a..8846e3f 100644 --- a/res/effectlib/funcsampleLightVars.glsllib +++ b/res/effectlib/funcsampleLightVars.glsllib @@ -1,5 +1,3 @@ -#define MAX_NUM_LIGHTS 16 - struct LightSource { vec4 position; diff --git a/res/effectlib/gles2/funcareaLightVars.glsllib b/res/effectlib/gles2/funcareaLightVars.glsllib index 8f47e97..6585093 100644 --- a/res/effectlib/gles2/funcareaLightVars.glsllib +++ b/res/effectlib/gles2/funcareaLightVars.glsllib @@ -1,5 +1,3 @@ -#define MAX_AREA_LIGHTS 8 - // note this struct must exactly match the memory layout of the // struct SLightSourceShader in the source code. If you make changes here you need // to adjust the struct SLightSourceShader as well diff --git a/res/effectlib/gles2/funcsampleLightVars.glsllib b/res/effectlib/gles2/funcsampleLightVars.glsllib index cdce154..991a933 100644 --- a/res/effectlib/gles2/funcsampleLightVars.glsllib +++ b/res/effectlib/gles2/funcsampleLightVars.glsllib @@ -1,6 +1,3 @@ - -#define MAX_NUM_LIGHTS 8 - struct LightSource { vec4 position; |