Nehon ab981b76fc Added a define to toggle indirect lighting on or off, depending if there is a light probe in the light list or not.
However, this is not ideal, as this code will trigger a recompilation of the shader on each pass, in case there is more than 1 lighting pass.
Another way could be to multiply the indirect lighting contribution by the Ambient light color in the shader, and always perform the indirect lighting code (even without light probe).
As in the second pass ambient light is forced to 0, the indirect lighting contribution would be nullified. However we'd have to force ambient light to 0 if there are no light probe.
This would also have the nice side effect of having a way to dim or boost indirect lighting with the ambient light color.
2015-11-15 18:43:50 +01:00
2015-07-04 18:58:12 +02:00
2014-03-23 14:53:02 +01:00
2014-03-23 14:53:02 +01:00
2015-01-23 20:01:09 -05:00
2015-04-30 09:57:46 -04:00
2015-08-25 00:39:03 -04:00

jMonkeyEngine

Build Status

jMonkeyEngine is a 3D game engine for adventurous Java developers. Its open source, cross platform and cutting edge. And it is all beautifully documented. The 3.0 branch is the latest stable version of the jMonkeyEngine 3 SDK, a complete game development suite. We'll be frequently submitting stable 3.0.x updates until the major 3.1 version arrives.

The engine is used by several commercial game studios and computer-science courses. Here's a taste:

jME3 Games Mashup

Getting started

Go to http://hub.jmonkeyengine.org/downloads/ to download the jMonkeyEngine SDK. Read the wiki for a complete install guide. Power up with some SDK Plugins and AssetPacks and you are off to the races. At this point you're gonna want to join the forum so our tribe can grow stronger.

Note: The master branch on GitHub is a development version of the engine and is NOT MEANT TO BE USED IN PRODUCTION, it will break constantly during development of the stable jME versions!

Technology Stack

  • Java
  • NetBeans Platform
  • Gradle

Plus a bunch of awesome libraries & tight integrations like Bullet, Blender, NiftyGUI and other goodies.

Documentation

Did you miss it? Don't sweat it, here it is again.

Contributing

Read our contribution guide.

License

New BSD (3-clause) License. In other words, you do whatever makes you happy!

Description
A complete 3D game development suite written purely in Java.
Readme 844 MiB
Languages
Java 95.4%
C++ 2.5%
GLSL 1.5%
C 0.3%
HTML 0.2%