Skip to content
Madbax

By Aescripts · Official page

Real Lenses V1.0.0

About this item

pixelsorter.studio

Real Lenses puts a real piece of glass in front of your footage. The light is traced through it, so you get refraction, reflections, distortion and colour fringes the way a real lens makes them.

Premiere Pro · DaVinci Resolve · After Effects · Nuke

RaytracedSpectral dispersionReal lens designsDepth passGPU

Glass in the scene

Float a crystal ball in the shot, hold a magnifier to a face, or bring the glass right against the camera for a VR or fisheye look. Pick the shape, the glass (crown, flint, fused silica, diamond, water) and move it in 3D. The housing, coating and wear are traced with it.

It sees the depth

Footage · Depth pass · Real Lenses Give Real Lenses a depth pass and your shot stops being a flat picture. Every pixel sits at its real distance, so the lens works on a 3D scene: the microphone in front of the singer melts into bokeh while the singer's face stays sharp, the blur grows with distance, and glass bends near and far objects by different amounts, the way it bends a real room.

Use the Z pass of a 3D render, Quick Depth in After Effects, or Resolve Studio's Depth Map. White can be near or far, or a disparity map, with the near and far distances in metres. In After Effects and Premiere Pro it is the Depth Layer; in DaVinci Resolve and Nuke, the effect's Depth input.

Depth of field

Remove the glass and the camera does the work. An ideal lens, or real designs (Double-Gauss, Cooke Triplet, Petzval, Retrofocus, Telephoto) with their own aberrations. Defocus asks for the blur you want, whatever the lens. With a depth pass, your subject stays sharp while the background falls apart.

Bokeh and flares

Small lights in your footage turn into real bokeh discs: round, hexagonal, anamorphic ovals, bright soap-bubble rims, cat-eye at the edges of the frame, with the cool and warm fringes of real glass. Highlight Boost only touches isolated lights, so a bright sky is left alone.

Bright sources also flare. The ghosts are traced through the lens you picked, two reflections between its glass surfaces, so a Double-Gauss flares like a Double-Gauss. Starburst follows the aperture blades.

Premiere Pro and Resolve

Real Lenses is as much at home on an editing timeline as in a comp. In Premiere Pro it sits in Effect Controls with every preset; in DaVinci Resolve it is an OpenFX effect on the Edit, Color and Fusion pages, with the depth pass on its own input. Same raytracer, same presets, same result in every host.

Edits stay fluid: renders are cached and shared between Premiere's playback threads, so the timeline can play back in real time at low sample counts, and a slider you drag updates the frame you are looking at first. Preview Samples keep reduced-resolution playback light; the full Samples count is used for the final render.

Place it in the comp

In After Effects, drag the glass in the Composition panel: the centre moves it, one dot resizes it, the other tilts it, and a rail pushes it from 1 cm in front of the camera out to 100 m.

Mix to Original eases the whole look back to your footage, for clean transitions in and out of the lens.

In Premiere Pro and Resolve, Position, Distance and the rotations are keyframable in Effect Controls and the Inspector.

Every element, traced

The Lens Preview

The top of Effect Controls renders your lens live as you change it: shape, glass, curvature, housing, finish and coating.

With no glass in the shot it shows the camera lens itself, cut open: the real elements of the Double-Gauss, Petzval, Retrofocus or Telephoto, and the iris at your f-stop. Drag to turn it, click to reset, double-click to open the Lens Browser.

The Lens Browser

Every glass and every camera lens, as a card with its own render and one line on what it does. Filter by glass or camera lenses, search by name, click one to load it. Open it with the Lens Browser button in After Effects, Premiere Pro and DaVinci Resolve, or double-click the Lens Preview in After Effects (macOS for now).

real human ✓ made and supported by a real human.I've been building plugins for VFX artists since 2015. This is my full-time job: I write the code, ship updates every week, and answer every support ticket myself.Read the story ›

The parameters

A lens object you can hold

Biconvex, biconcave, plano, meniscus or ball. Diameter, distance, curvature, tilt, a housing with its finish, coating and wear, Fresnel reflections and total internal reflection, all physically traced.

Glass with a spectrum

Every ray carries a wavelength. Crown, flint, fused silica, diamond or water, each with its own dispersion, so edges and highlights split into colour the way they really do.

Camera lens models

An ideal thin lens, or real prescriptions traced surface by surface with their distortion, vignetting and swirl. An anamorphic adapter squeezes the bokeh into ovals.

Defocus, not guesswork

Say how blurry, in percent of the frame. Focus stays on Auto through the glass, or set it in metres.

Aperture character

Blades, rotation and roundness for the iris shape; Bokeh Rim for bright or soft edges; Cat Eye for the oval discs of a fast lens wide open.

Lens flares

Ghosts, starburst and glare from the brightest points in the frame, traced through the chosen prescription. Amount, threshold and number of sources.

Depth and reflections

A depth pass turns the footage into a 3D surface the lens actually focuses on and refracts. Reflections come from your footage, or from a 360 environment layer.

Frequently Asked Questions

How does instant Telegram delivery via @madbaxapp_bot work?

Activate any plan from $5, then press Download on this page: 1 file (53.0 MB) are sent to your Telegram chat instantly by the bot @madbaxapp_bot.

How do I extract multi-part .part01.rar archives on Windows and macOS?

Download all volumes (.part01.rar, .part02.rar … .partN.rar) into one folder, then start the extraction only from the first volume, part01.rar. On Windows use WinRAR or 7-Zip; on macOS use Keka or The Unarchiver. The other volumes are read automatically.

What is included in the download archive?

The archive includes all project and video files for this release. It does not include one-to-one mentoring or certificates from the original school.

Related Assets

More from Madbax