Fixed handling of softness for spotlight
Added checks not to render Shadowmap if shadow disabled or lights not visible
Added more filter types
Made linear-mipmap-linear the default value for filterMin
Refactor texture handling in XFlow and XML3D.

Floating point textures are now supported using Float32Array and extension.
Canvas, Image and Video handling unified through TexelSource class.
Further testing and refactoring necessary.

Signed-off-by: Jan Sutter <jan.sutter@dfki.de>
Add different formats and types to Xflow textures

Signed-off-by: Jan Sutter <jan.sutter@dfki.de>
Add RGBE PNG to float texture operator

Signed-off-by: Jan Sutter <jan.sutter@dfki.de>
Fix bug in NPOT image scaling

Signed-off-by: Jan Sutter <jan.sutter@dfki.de>
Minor changes in TextureEntry

Signed-off-by: Jan Sutter <jan.sutter@dfki.de>
Fix mipmap NPOT scaling bug

Signed-off-by: Jan Sutter <jan.sutter@dfki.de>
Several fixes in new Xflow Texture Handling:

- Separation between _setImage and setImage.
--- _setImage is used internall and does not invoke "callListedCallbacks()
--- Avoid endless loops
- Convert HTMLElements to actual ImageData objects and not custom objects
- Preserve Xflow.toImageData method for backward compatibility