Sky texture environment lighting
Environment lighting using
Sky Texture is now supported in GLSL render in both viewport and game. The UI look as follow:
The texture defined by the user in world texture setting is sampled using geometry normal. The result looks like this without any lamp in scene, only environment lighting:
See also: 6c8598b.
Python inputs helpers
Four attributes are implemented in
SCA_InputEvent to help the user to detect if the input was from the last frame: activated, released, active or inactive.
These attributes produce the same operation as checking elements in
SCA_InputEvent.events, their names are:
KX_2DFilterManager.addFilter(...). This permits the user to later call
KX_2DFilter.setSourceList(...)and then be able to specify a vertex shader or even a geometry shader.
SCA_KeyboardSensor.inputsnow follows the same behavior than
SCA_PythonKeyboard.inputswith the usage of a python dictionary instead of a list of list.