mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
experimental point light bindings
This commit is contained in:
parent
fee639a74f
commit
0cb63ca4e6
13 changed files with 168 additions and 12 deletions
|
@ -59,6 +59,7 @@ namespace fx
|
|||
mValid = false;
|
||||
mHDR = false;
|
||||
mNormals = false;
|
||||
mLights = false;
|
||||
mEnabled = true;
|
||||
mPassMap.clear();
|
||||
mPasses.clear();
|
||||
|
@ -238,6 +239,8 @@ namespace fx
|
|||
mHDR = parseBool();
|
||||
else if (key == "pass_normals")
|
||||
mNormals = parseBool() && mSupportsNormals;
|
||||
else if (key == "pass_lights")
|
||||
mLights = parseBool();
|
||||
else if (key == "glsl_profile")
|
||||
{
|
||||
expect<Lexer::String>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue