Blender export scripts now working much better, added lighting materials.
Image shows the scene exported from Blender 2.61 to vortxGE 2.0
Materials for batches are now sent to shaders too. Here's the struct.
These are used as Color multipliers to adjust textures and even mix with lighting ambient, shine etc..
Image shows the scene exported from Blender 2.61 to vortxGE 2.0
Materials for batches are now sent to shaders too. Here's the struct.
struct material {
vec4 diffuse;
vec4 specular;
vec4 ambient;
float shininess;
};
uniform material Mat;
These are used as Color multipliers to adjust textures and even mix with lighting ambient, shine etc..
Create a custom theme




