Vanda Engine 2.4.5
Vanda Engine 2.4.5 is available for download:
Official website: https://vanda3d.org/download-vanda-engine/
Github: https://github.com/ehsankamrani/vandaengine/releases/tag/v2.4.5
Sourceforge: https://sourceforge.net/projects/vandaengine/files/Vanda%20Engine%202/2.4.5/
What's new:
- You can now pass "this" string as light name to the following functions. In this case, "this" string points to the light object you attached the script to:
- SetLightAmbient
- SetLightDiffuse
- SetLightSpecular
- SetLightShininess
Example:
function Init()
SetLightAmbient("this", 0.3, 0.0, 0.0)
SetLightDiffuse("this", 0.0, 1.0, 0.0)
SetLightSpecular("this", 1.0, 1.0, 1.0)
SetLightShininess("this", 40.0)
end
function Update()
end
- You can't use "this" name for light objects. It's a reserved name.