Jump to content

Recommended Posts

Posted

While solving having only one camera shared between c++ and lua I came across something strange - all lights seem to be registered as cameras as well. Now I suspect that this has "something" to do with the deferred rendering, I was just hoping somebody could shed some light on what that "something" is

System:

Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k

Posted

If you want to know the amount of lights or camera's you can make use of these:

 

const int Object::CameraClass = 3;
const int Object::DirectionalLightClass=4;
const int Object::SpotLightClass=5;
const int Object::PointLightClass=6;

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...