Support SFMLab on Patreon

Omni-directional light


Description

After seeing a demonstration of the existence of a true omni-directional light on youtube I spent some time messing around and trying to re-create it. After a few hours of trial and error and a heavy dosage of help on the official SFM discussion board I got it working.

Here is the demo video I saw:

https://www.youtube.com/watch?v=quqflnowD3o

Here is my demonstration of it in use:

!embed

BIG CAVEAT: It's 6 lights parented to each other. Heavy price in the shadow department.

What this means is that you cannot have more than one group of these with full shadows. You can certainly load up your scene with a bunch, but we're still limited to 9 shadowed lights.

  • In order to use this, just load up the session and then choose a different map and import models as normal.

  • Since these are 6 independent lights it means that any tweaks need to be made individually to the each 6. And you definitely want them to be identical unless you have a very specific reason not to.

  • To create more than one group simply copy the whole group of 6 animation sets and parent the five "non-handle" lights to the one parent and pose that.

To Install simply unzip in your usermod folder.

The session goes in the usermod/sessions folder. It comes with a single material under usermod/materials/Aliassfm/MiscVMT which is the gobo that's used to remove the seams.

Enjoy!



Comments

This sounds pretty neat and quite useful... though the amount of lights needed does limit it's usability a bit. Will this get updated if someone gets the two light setup working? From the comments it sounds like the uploader was getting close?

BraveDownpour posted 1 year, 6 months ago

guys you can delete omni4 and omni5 they are not doing anything then you will have space to add more shadow lights

sabi123456 posted 1 year, 6 months ago

Aliassfm

@BraveDownpour I did get it working, but it's not worth anything. The shadow angles are based on the angle of the light, so at 179.99999 degrees the shadows are invisible. It's pretty easy to try it yourself. Create two lights, exactly 180 degrees in any rotation from each other. Set the FOV on each to 179.9999 and you're done. @sabi123456 They should be doing something. There are six for six sides of a square. Think like a die. The 4 and 5 are the top and bottom IIRC.

Aliassfm posted 1 year, 6 months ago


Leave a reply

You need to be logged in to leave a comment.

Support SFMLab on Patreon