PointLight

I was reading a tutorial about point light, and found the following:



“A PointLight can be used together with shadows.”



Does this mean that this can be used so that other objects cast shadows?



Oh, and happy Easter :slight_smile:

Thanks anyways. I agree with you.

i could be compleltly wrong but In my experience in the past most game editors pointlight entities wouldn’t support shadows becuase it was too computationally expensive(frame rate dropped super low) so I’m guessing that is why they mentioned it in the first place to make this aware that their pointlight don’t have this limitation. Of course I’m still new with JME in particular so i’m just going on an educated guess here.



Happy easter mate!

Light and shadow don’t have much to do with each other in computer graphics really… There would always have to be a separate shadow processor for the spotlight.

I know that. But if I have a PSSMRenderer, would the objects cast/receive shadows from this light?

Yes, the PPSM should support it as mentioned.

Thanks.

Actually no.



Pssm use a directional light, atm there is no built in solution for casting shadows with anything else in JME3

1 Like

Thanks for answering. I was trying to find a way to that for the past hour xD Didn’t want to bother anyone, so thanks for replying. I’m sure I’ll find a workaround solution though :wink: Thanks and Happy Easter!

Wait it does not O.o … Probably explains my problems with the shadows then :confused:

Maybee the tutorial should be adjusted to note this instead of that it works thing :slight_smile:

@EmpirePhoenix said:
Maybee the tutorial should be adjusted to note this instead of that it works thing :)

Done.
4 Likes

thanks @Tumaini