Fixed FBO initialization bug, when depth only FBO is requested.
Fixed FBO initialization bug, when depth only FBO is requested.
Added mineral blocks to L&S (clubs, spades, hearts, diamonds).
Starting point for #562
Added "towerStone" block template and overrode brick and cobblestone as new towerBlocks.
Added diamondAce block structure (door-like).
Could be either a new type of door or used for #560
Added brand new TeraOVR library to Terasology and implemented head tracking support for the Oculus Rift - not fully finished yet but it is working quite nicely! Note: The DLLs have to be placed into the natives folder manually at the moment.

* All those fancy constants needed to setup the stereo projection can now be dynamically retrieved from the Oculus device using TeraOVR
* Did some cleanups here and there
Fix head tracking singularity when "looking behind".
Oculus VR tracking now works in combination with the mouse and keyboard. Works very, very solid now!

* Don't serialize the view roll value together with the player component... Or be prepared for serious motion sickness issues when restarting the game.
* Some minor cleanups and refactoring
Added various improvements for the Oculus VR integration.

* The scene is now rendered to render targets which can be larger than the actual size provided by the Display class - this is currently used to compensate for the lens correction algorithm which needs the final result to be upscaled afterwards. To avoid a loss of quality (and an even more pixelated image in the Rift), the render targets are scaled by the scale factor used for the lense correction algorithm beforehand and get downsampled in the end to the actual display width and height.
* Fixed that rendering the scene multiple times for each eye caused the render queues and the thus the triggered chunk updates to become a bit confused - optimized this while I was at it (don't fill the shadow render queue multiple times, ...).
* Disabled motion blur when Rift support is activated - dear lord... that nearly made me puke on my desk
Merge PR #566 from @skaldarnar - L&S content
Merge PR #565 from @jobernolte - FBO bug
Overhauled screenshot functionality to use one of the scene FBOs being used in the background. Using the recent features added for the Oculus, screenshots are now taken using a much higher resolution (twice the size of full hd).
Adjusted scale factor for the Oculus.
Updated some textures.
* mineral textures
* ace texture
Merge pull request #593 from skaldarnar/lightAndShadow

Updated some textures.
Fixed that the frustum for the second eye was not up-to-date when using the Oculus Rift. Also did some improvements and cleanups in the camera classes...

* Matrices are no longer updated each frame if nothing changes
* The frustum gets updated using the camera matrices, not the currently set OpenGL matrices on the matrix stacks
* The frustum for the camera gets updated if the matrices get updated
Maybe fix for issue #472.
Maybe fix for issues #511 and #522 (eye adaption related - please check).
Some more safety checks for the PBO / eye adaption related issues on some platforms (see issues #495, ...).
Forget my last commit... Misread the issue. Undoing some of my changes that are not necessary.