Jump to content

Lights are cameras?


Guppy
 Share

Recommended Posts

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

Link to comment
Share on other sites

Yeah it was news to me as well - guess I never looked closely at the Command Reference page that shows the class hierarchy. And with the new changes to Entity:GetCulled(), you have the starting point for a game like Thief where it indicates if the player is in shadows or light.

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...