Skip to content

Vanda Engine 2.4.5

Compare
Choose a tag to compare
@ehsankamrani ehsankamrani released this 06 Jun 02:46
· 397 commits to master since this release

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:

  1. 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

  1. You can't use "this" name for light objects. It's a reserved name.