Upbge: Lights does not work with groups

Created on 27 Apr 2019  Â·  8Comments  Â·  Source: UPBGE/upbge

If you add a lamp into a group and then instantiate the group, it will not work.

BF Blender Bug bug

Most helpful comment

@marechal-p yes. I will investigate it.

All 8 comments

This is a known limitation, instead use a list of lamps and free / check
them out

On Sat, Apr 27, 2019, 11:55 AM Uniday Studio notifications@github.com
wrote:

If you add a lamp into a group and then instantiate the group, it will not
work.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/UPBGE/blender/issues/1039, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABW3SWJBXXS2AATARMTGDJLPSSOTFANCNFSM4HI42LHQ
.

@UnidayStudio did you assign yourself to this issue because you want to fix it? :)

@marechal-p yes. I will investigate it.

How long is that investigation going to take ?

UglinessInTheUI

a workaround was posted.

unless your doing it yourself, please try not to add crunch.

we do this for fun.

On Thu, May 9, 2019 at 5:49 AM UglinessInTheUI notifications@github.com
wrote:

How long is that investigation going to take ?

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/UPBGE/blender/issues/1039#issuecomment-490889639, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABW3SWLH3G6SKZB23ZECWNDPUQMU7ANCNFSM4HI42LHQ
.

So what's the fix for it ? The workaround is not the fix I'm guessing.

in glsl / forward render you can't have a instance of a lamp - there are
only so many 'fixed' pipeline lamps available anyway.

the workaround is to have a list of lamps, like a library where one can
check out a lamp, and when finished, return it.

this works quite well for me.

to go any further with lamps you will need to swap to a differed pipe,

On Thu, May 9, 2019 at 6:00 PM UglinessInTheUI notifications@github.com
wrote:

So what's the fix for it ? The workaround is not the fix I'm guessing.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/UPBGE/blender/issues/1039#issuecomment-491117248, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABW3SWNTWGQKKQ5WUCD7XPDPUTCLVANCNFSM4HI42LHQ
.

I see. I was thinking that maybe there was a way to fix it in the source code. Obviously not. OK.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vlad0337187 picture vlad0337187  Â·  7Comments

IzaZed picture IzaZed  Â·  6Comments

EndSSgamesStudio picture EndSSgamesStudio  Â·  4Comments

maconbot picture maconbot  Â·  5Comments

IzaZed picture IzaZed  Â·  6Comments