SFMLab is currently in READ-ONLY mode

SFMLab will soon be migrated to a new codebase. In preparation for this, we have temporarily disabled some site functionality, namely the features listed below. This is necessary to ensure the move will not lead to accidental data-loss. You should still be able to download existing files available on the site.(although the EU server will suffer from reduced availability)

SFMLab will stay in read-only mode until the end of February, when the migrations are set to conclude.

Support SFMLab on Patreon

Anamorphic Lens Flare


Have you ever wanted to be this guy?

enter image description here

Well, now you can convince yourself that you are!

Pretty simple little asset I put together, because I decided "why should I have to spend the time building, tracking, and masking lens flares in post, when I can just have a lens flare in the actual scene and have it handle all of that for me?"

Designed after the anamorphic lens flares in Mass Effect 3, and indeed, the actual anamorphic stretch was extracted directly from Mass Effect 3. All of the other textures I built myself, though, since they're simple enough.

Has 6 components, each of which has its own set of bones to control the size. The anamorphic stretch and the bars have bones to control the length, and every element has a root bone that can be scaled or moved individually.

The components are: the central radial, the outer ring (disabled by default), the vertical and horizontal bars, the anamorphic stretch, and a "flare" circle (disabled by default).

This actually comes with 5 models: a bodygrouped combination of all of the elements, a separate radial, a separate crossbar (both horizontal and vertical), a separate ring, a separate anamorphic stretch, and a separate flare circle.

Chances are, the most commonly used models will be the actual lens-flare model, and then additional flare circles.

I also highly recommend using the color script and the cloaking script with the lens flare. The color script will allow you to change the colors arbitrarily, because there are only 4 total skingroups: everything white (default), and then a blue/red/green anamorphic stretch. The cloaking script will allow you to tune the opacity of the lens flares, to give you more direct control.

Additionally, the cloaking script will allow you to animate flipping the lens flare off when something passes in front of the light source, because these textures ignore everything on the scene (such as to have the flare behave correctly).




Ganonmaster posted 3 years, 11 months ago


Absolutely perfect, just what I was looking for

TengenGenesic posted 3 years, 11 months ago


I think there would not have prevented parameter $nocull

mark2580 posted 3 years, 11 months ago


These Len Flare :yes:

MrGaoyuo2 posted 3 years, 11 months ago

Yay... perfect!

deciever posted 3 years, 11 months ago

FUCK YEAH! Finally, a easier len flare to use. Thank you!

PrettyFlacko posted 3 years, 11 months ago


perfect! useful

mattdarey posted 3 years, 11 months ago


Fewer JJ Abrams references than I thought. ![enter image description here](http://replygif.net/i/90.gif "enter image title here")

KliffEdge posted 3 years, 11 months ago

real cool and all, but im new to this so where do i put it in my folders?

astormmguy posted 3 years, 11 months ago

> real cool and all, but im new to this so where do i put it in my folders? Extract the file>open folder> copy "materials" and "models" folders> paste into C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\usermod> Run SFM to be sure it works> Make something magical :)

DisBot455 posted 3 years, 11 months ago

Leave a reply

You need to be logged in to leave a comment.

Support SFMLab on Patreon