When thrusters fire, a luminosity texture lights up next to the flare particle showing.
This required new features in many different places:
- models changed which now include group indices (for triangles of thruster groups)
- egom.js now reads and loads group indices for triangles (Triangle.group)
- new ship shaders that use the luminosity texture and a uniform array for setting its strength for each group
- support for setting uniform float arrays
- support for loading multiple textures for meshes and binding them to different places (ACTIVETEXTURE0-3)
- ShipMesh class for ships
- added luminosity texture files
- in classes.xml, group indices added for each thruster slot and luminosity texture references for each ship
Minor changes:
- textures now refresh the status info on load
- shader code cleanup and commenting