Help! The site looks different!

Wonder what's going on? We've migrated the site to a new codebase. Please read the following letter: SFMLab Migration 2020

Note: SFMLab now uses Open3DLab Network accounts. (SmutBase and Open3DLab accounts) If you do not already have a SmutBase or Open3DLab account, please sign up through this link. Once your new Open3DLab Network account has been created, please log in and take a moment to link your old SFMLab account to your newly created account.

Omni-directional light

 Large preview image for 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!


Filename Downloads Created Filesize
Files
Omni_Light.zip
🇳🇱 EU Download
🇨🇦 NA Download
21 2017-05-28 356.14 KB
Previews
OmniLight.png
🇳🇱 EU Download
🇨🇦 NA Download
7 2020-03-01 553.01 KB
Thumbnail image for Omni-directional light

Comments

Yeah I agree I wish these steps weren't needed. I heard that you can achieve similar results with 4 and even 2 light so that's my next project.
Reply • May 29, 2017, 5:02 p.m. -  Aliassfm
|
I managed to pull off an omnidirectional with two lights both at 179 fov (180 breaks it so i had to settle for 179) and some fiddling. So it can be done with less than six.
Reply • May 29, 2017, 6:01 p.m. -  Jojje
|
Well, three but in most cases yeah. Useful for single points of light in the scene and I've gotten some good looking results with using the shadowed lights in the foreground and non-shadowed in the background.
Reply • May 28, 2017, 11:52 p.m. -  Aliassfm
|
^this this is a great addition. thx for sharing dude.
Reply • May 30, 2017, 4:54 p.m. -  eazygoing
|
@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.
Reply • June 13, 2017, 3:47 p.m. -  Aliassfm
|

Leave a comment

You need to log in if you want to leave a comment.