diff options
author | cutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475> | 2020-06-12 20:41:49 +0000 |
---|---|---|
committer | cutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475> | 2020-06-12 20:41:49 +0000 |
commit | 20b3d56987ca7b7a9d7f27b0a32a93f12e8dc530 (patch) | |
tree | 5fd7cc45a44c46b1134788ed90ffb70398179f4d /examples/11.PerPixelLighting/main.cpp | |
parent | 084e0e669a8d9c6a373ff3bcb410febca4d4a48a (diff) | |
download | irrlicht-20b3d56987ca7b7a9d7f27b0a32a93f12e8dc530.tar.xz |
Merging r6075 through r6106 from trunk to ogl-es branch.
Burnings renderer changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6116 dfc29bdd-3216-0410-991c-e03cc46cb475
Diffstat (limited to 'examples/11.PerPixelLighting/main.cpp')
-rw-r--r-- | examples/11.PerPixelLighting/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/11.PerPixelLighting/main.cpp b/examples/11.PerPixelLighting/main.cpp index c2e03af..afa59cb 100644 --- a/examples/11.PerPixelLighting/main.cpp +++ b/examples/11.PerPixelLighting/main.cpp @@ -285,9 +285,9 @@ int main() driver->getTexture(mediaPath + "rockwall.jpg"));
room->setMaterialTexture(1, normalMap);
- // Stones don't glitter..
- room->getMaterial(0).SpecularColor.set(0,0,0,0);
- room->getMaterial(0).Shininess = 0.f;
+ // Stones don't glitter.. (but specular highlight for EMT_SOLID)
+ //room->getMaterial(0).SpecularColor.set(0,0,0,0);
+ //room->getMaterial(0).Shininess = 0.f;
room->setMaterialFlag(video::EMF_FOG_ENABLE, true);
room->setMaterialType(video::EMT_PARALLAX_MAP_SOLID);
@@ -365,7 +365,7 @@ int main() // add light 1 (more green)
scene::ILightSceneNode* light1 =
smgr->addLightSceneNode(0, core::vector3df(0,0,0),
- video::SColorf(0.5f, 1.0f, 0.5f, 0.0f), 800.0f);
+ video::SColorf(0.5f, 1.0f, 0.5f, 0.0f), 400.0f);
// add fly circle animator to light 1
scene::ISceneNodeAnimator* anim =
@@ -398,7 +398,7 @@ int main() // add light 2 (red)
scene::ISceneNode* light2 =
smgr->addLightSceneNode(0, core::vector3df(0,0,0),
- video::SColorf(1.0f, 0.2f, 0.2f, 0.0f), 800.0f);
+ video::SColorf(1.0f, 0.2f, 0.2f, 0.0f), 400.0f);
// add fly circle animator to light 2
anim = smgr->createFlyCircleAnimator(core::vector3df(0,150,0), 200.0f,
|