Sapphire Plug-ins for AVX2: Luna

S_Luna

Renders the Earth's Moon; you can adjust phase and colors, and add atmospheric effects.

In the Sapphire Render category.


Inputs:

Source: Optional. The clip to be processed.

Background: Optional. The clip to use as background. The output of the effect is composited over this clip.

Mask: Optional. Interpolate between the result and the Source input. White areas use the result of the effect. Black areas use the Source clip.

Parameters:

Load Preset: Push-button .
Brings up the Preset Browser to browse all available presets for this effect.

Save Preset: Push-button .
Brings up the Preset Save dialog to save a preset for this effect.

Mode: Popup menu,  Default: Luna .
Selects how the moon's phase is chosen. You can adjust it directly in Luna mode, or select LunaDate mode to choose a date and time and the effect will use the proper phase for that date.
Luna: Select this mode to adjust the moon phase manually.
LunaDate: Select this mode to have the effect compute the phase from the given date and time.

Mocha: Default: 0, Range: 0 or greater.
Brings up the Mocha window for tracking footage and generating masks.

Blur Mocha: Default: 0, Range: 0 or greater.
Blurs the Mocha Mask by this amount before using. This can be used to soften the edges or quantization artifacts of the mask, and smooth out the time displacements.

Mocha Opacity: Default: 1, Range: 0 to 1.
Controls the strength of the Mocha mask. Lower values reduce the intensity of the effect.

Invert Mocha: Check-box,  Default: off.
If enabled, the black and white of the Mocha Mask are inverted before applying the effect.

Resize Mocha: Default: 1, Range: 0 to 2.
Scales the Mocha Mask. 1.0 is the original size.

Resize Rel X: Default: 1, Range: 0 to 2.
The relative horizontal size of the Mocha Mask.

Resize Rel Y: Default: 1, Range: 0 to 2.
The relative vertical size of the Mocha Mask.

Shift Mocha: X & Y,   Default: [0 0], Range: any.
Offsets the position of the Mocha Mask.

Bypass Mocha: Check-box,  Default: off.
Ignore the Mocha Mask and apply the effect to the entire source clip.

Show Mocha Only: Check-box,  Default: off.
Bypass the effect and show the Mocha Mask itself.

Combine Masks: Popup menu,  Default: Union .
Determines how to combine the Mocha Mask and Input Mask when both are supplied to the effect.
Union: Uses the area covered by both masks together.
Intersect: Uses the area that overlaps between the two masks.
Mocha Only: Ignore the Input Mask and only use the Mocha Mask.

Center: X & Y,  Default: screen upper left.
Center point of the moon. This parameter can be adjusted using the Center Widget.

Center Uses Mocha: Check-box,  Default: off.
Controls whether the moon's center is controlled by the Center parameter or follows the Center tracked inside of Mocha.

Smooth Center Track: Integer,  Default: 0, Range: 0 or greater.
Controls how many points to average when stabilizing the Mocha point track.

Size: Default: 0.3, Range: 0 or greater.
Size of the moon. This parameter can be adjusted using the Size Widget.

Lunar Phase: Default: 65, Range: any.
Phase of the moon, in degrees; 0 is new, 90 is first quarter, 180 is full, and 270 is last quarter. Only available in Luna mode.

Year: Integer,  Default: 2.02e+03, Range: 1900 to 2295.
Year to use when computing the phase.

Month: Integer,  Default: 3, Range: 1 to 12.
Month to use when computing the phase.

Day: Integer,  Default: 16, Range: 1 to 31.
Day to use when computing the phase.

Hour: Integer,  Default: 16, Range: 0 to 23.
Hour to use when computing the phase.

Minute: Default: 0, Range: any.
Minute to use when computing the phase.

GMT Offset: Default: -5, Range: -12 to 12.
GMT offset to use when computing the phase. -5 is Eastern Standard Time, -8 is Pacific Standard Time.

Rotation: Default: 30, Range: any.
Rotation of the moon image, in degrees.

Bumpiness: Default: 0.3, Range: 0 to 1.
The moon has craters that catch and reflect light. This parameter can be used to adjust how bumpy those craters look. 0 is completely smooth, 1 is very rough. 0.3 is about physically realistic on a clear night.

Contrast: Default: 1, Range: 0 to 1.
Adjusts the contrast of the moon. Values toward 0 brighten the dark areas.

Brightness: Default: 1, Range: 0 or greater.
Scales the brightness of the result.

Color: Default rgb: [1 1 1].
Scales the color of the result. For example, if it is yellow [1 1 0], the blue of the result will be 0.

Earth Glow: Default rgb: [0 0 0].
Adds earth-glow, which you often see near sunset when the moon is crescent. The sun's light reflects off the earth, and some of that reflected light illuminates even the dark part of the moon. This gives an especially nice look during a lunar eclipse.

Gamma: Default: 1.6, Range: 0.1 or greater.
Sets the overall gamma of the moon image. Good for reducing contrast in a different way from the contrast parameter.

Sky Color: Default rgb: [0 0 0].
If you want to make a complete sky image with the moon and a colored sky, you can put the moon in a blue sky by setting Sky Color to blue. This will also tint the moon toward the sky color.

Glow Brightness: Default: 0.5, Range: 0 or greater.
Adds some glow to the moon. You can see this often in real life when there's some haze or light clouds.

Threshold: Default: 0.01, Range: 0 or greater.
Threshold for the glow; only parts of the moon brighter than this threshold will glow.

Glow Size: Default: 0.75, Range: 0 or greater.
Size of the moon glow. Larger creates a more diffuse glow.

Halo Brightness: Default: 0, Range: 0 or greater.
With certain kinds of high, diffuse clouds, you can sometimes see a subtle rainbow halo around the moon. Increase this parameter to see that halo.

Halo Rel Size: Default: 1.5, Range: 0 or greater.
Sets the size of the halo, relative to the moon. 1.0 would be the same size as the moon, 2.0 is twice as large.

Color Fringing: Default: 0.05, Range: 0 to 1.
Increases or decreases the amount of color fringing in the moon halo; fringing separates the colors into a rainbow.

Inner Softness: Default: 0.15, Range: 0 or greater.
Sets the softness or spread of the inside of the halo, closest to the moon.

Outer Softness: Default: 0.3, Range: 0 or greater.
Sets the softness or spread of the outside of the halo, farthest from the moon.

Halo Saturation: Default: 0.5, Range: 0 or greater.
Sets the overall saturation of the moon halo. Increase for a more graphic look.

Halo Tint: Default rgb: [1 1 1].
Tints the halo toward this color.

Atmosphere Amp: Default: 0.3, Range: 0 or greater.
The Atmosphere params add a little noise to the glow and halo, for a more realistic look. Atmosphere Amp controls the amount of atmospheric noise.

Atmosphere Freq: Default: 2, Range: 0.1 or greater.
Controls the frequency of the atmospheric noise.

Atmosphere Turbulence: Default: 0.6, Range: 0 to 1.
Controls the turbulence (amount of detail) in the atmospheric noise.

Atmosphere Seed: Default: 0.123, Range: 0 or greater.
Sets the seed of the atmospheric noise.

Atmosphere Speed: Default: 1, Range: any.
Controls how fast the atmospheric noise changes over time.

Combine: Popup menu,  Default: Overlay .
Combine allows you to combine the moon image with the background in various ways.
Moon Only: Ignore the background; show the moon (and its glow and halo) only.
Overlay: Overlay (composite) the moon over the background.
Add: Add the moon to the background.
Screen: Screen the moon with the background. Nice for daytime shots.
Max: Where the moon is brighter than the background, show it. This can be useful for daytime shots with clouds. Where the clouds are brighter than the moon, they'll obscure it.
Transparent Shadow: Composite only the lit part of the moon over the background, leaving the dark part transparent. This is not physically realistic, since the dark part of the moon obscures the sky and stars behind it, but it can be used for graphic effect.

Bg Brightness: Default: 1, Range: 0 or greater.
Scales the brightness of the background before combining with the moon. If 0, the result will contain only the moon image over black.

Affect Alpha: Default: 0, Range: 0 or greater.
If this value is positive, the output Alpha channel will include some opacity from the moon's halo and glow.

Mask Use: Popup menu,  Default: Luma .
Determines how the Mask input channels are used to make a monochrome mask.
Luma: the luminance of the RGB channels is used.
Alpha: only the Alpha channel is used, or if there is no valid Alpha channel the Red channel is used.

Blur Mask: Default: 0.05, Range: 0 or greater.
Blurs the Mask input by this amount before using. This can provide a smoother transition between the masked and unmasked areas. It has no effect unless the Mask input is provided.

Invert Mask: Check-box,  Default: off.
If on, inverts the mask input so the effect is applied to areas where the Mask is black instead of white. This has no effect unless the Mask input is provided.
See general info for: Apply To Title/Key , Crop/Transform , Resolution , Clamp Output To Legal , Bypass Effect , and Reset .


See Also:

Sapphire Plug-ins Introduction

List all effects with pictures

List all effects by name

List all effects with a brief summary

General User Info
What's New In This Version
Compatibility Notes
Loading a Plug-in
Color Management with OpenColorIO
Loading and Saving Presets
Designing Lens Flares and Glares
Using the Sapphire Effect Builder
Using Mocha in Sapphire
Resetting Parameters to Defaults
Online Documentation
About GPU Acceleration
About Motion Blur
About Matte Inputs
About Alpha Processing
About Angle Parameters
About Pixel Aspect Ratios
Customizing Plug-ins
Known Problems
3rd Party Licenses

Glow Effects
Glow
GlowAura
GlowDarks
GlowDist
GlowEdges
GlowNoise
GlowOrthicon
GlowRainbow
GlowRings
UltraGlow
ZGlow
Light Beams
Rays
EdgeRays
Streaks

LensFlares
LensFlare
LensFlareAutoTrack
LightLeak
Glints & Glares
Glint
GlintRainbow
Glare

Other Lighting
BokehLights
DropShadow
Flashbulbs
Light3D
SpotLight

AutoPaint & HalfTone
AutoPaint
Sketch
Etching
Brush:Oil
Brush:Chalk
Crosshatch
Cartoon
CartoonPaint
Posterize
HalfTone
HalfToneColor
HalfToneRings

Kaleidoscopes
Kaleido:Triangles
Kaleido:Squares
Kaleido:Diamonds
Kaleido:Oct
KaleidoPolar
KaleidoRadial
FlysEyeCircles
FlysEyeHex
FlysEyeRect
TileScramble
Film Effects & Grain
FilmEffect
FilmDamage
Vignette
BleachBypass
Grain
GrainStatic
UltraGrain
Diffuse
VintageColor2Strip
VintageColor3Strip

Edge Effects
EdgeDetect
EdgeDetectDouble
EdgesInDirection
EdgeColorize

Embossing
Emboss
EmbossShiny
EmbossDistort
EmbossGlass
Other Stylize
BandPass
ColorFuse
DogVision
DigitalDamage
JpegDamage
TVDamage
Grunge
Mosaic
PixelSort
PseudoColor
PsykoBlobs
PsykoStripes
PrismLens
RomanTile
ScanLines
ScanLinesMono
Solarize
StripSlide
Zebrafy
ZebrafyColor
ZFogExponential
ZFogLinear

Adjust
ChannelSwitcher
ClampChroma
DuoTone
Gamma
Hotspots
HueSatBright
Invert
Monochrome
OCIOTransform
QuadTone
Threshold
Tint
TriTone
ShowBadColors

Composite
EdgeFlash
Layer
MathOps
MatteOps
MatteOpsComp
ZComp
Blur+Sharpen
Beauty
Blur
BlurChannels
BlurChroma
BlurDirectional
BlurMoCurves
BlurMotion
DefocusPrism
Convolve
ConvolveComp
Deband
EdgeBlur
EdgeAwareBlur
FreeLens
GrainRemove
Median
RackDefocus
RackDfComp
Sharpen
SoftFocus
ZConvolve
ZDefocus
ZBlur

Distort Effects
Distort
DistortBlur
DistortChroma
DistortRGB
Warps & Shake
InfiniteZoom
ParallaxStrips
WarpBubble
WarpBubble2
WarpChroma
WarpCornerPin
WarpDrops
WarpFishEye
WarpMagnify
WarpPerspective
WarpPolar
WarpPuddle
WarpPuff
WarpRepeat
WarpTransform
WarpVortex
WarpWaves
WarpWaves2
Shake
StretchFrameEdges

Lightning Zaps
UltraZap
Zap
ZapTo
ZapFrom

Gradients, Grid & Shape
Gradient
GradientMulti
GradientRadial
Grid
Shape

Procedural Textures
Caustics
Sparkles
SparklesColor
TextureCells
TextureChromaSpiral
TextureFlux
TextureFolded
TextureLoops
TextureMicro
TextureMoire
TextureNeurons
TextureNoiseEmboss
TextureNoisePaint
TexturePlasma
TextureSpots
TextureTiles
TextureWeave

Fractal Clouds
Clouds
CloudsColorSmooth
CloudsMultColor
CloudsPerspective
CloudsPsyko
CloudsVortex
Other Render
Aurora
LaserBeam
Luna
MuzzleFlash
NightSky
Time Effects
CutToDissolve
Feedback
FeedbackBubble
FeedbackDistort
FieldRemove
FreezeFrame
GetFrame
JitterFrames
MotionDetect
NearestColor
RandomEdits
RepairFrames
Retime
ReverseClip
ReverseEdits
TimeAverage
TimeDisplace
TimeSlice
TimeWarpRGB
Trails
TrailsDiffuse

Flicker Tools
Flicker
FlickerMatch
FlickerMatchColor
FlickerMatchMatte
FlickerMchMatteColor
FlickerRemove
FlickerRemoveColor
FlickerRemoveMatte
FlickerRmMatteColor

Effect Builder
Effect
Transition
Dissolve Transitions
Dissolve
DissolveAutoPaint
DissolveBlur
DissolveBubble
DissolveDefocus
DissolveDiffuse
DissolveDigitalDamage
DissolveDistort
DissolveEdgeRays
DissolveFilm
DissolveFlashbulbs
DissolveGlare
DissolveGlint
DissolveGlintRainbow
DissolveGlow
DissolveLensFlare
DissolveLuma
DissolvePixelSort
DissolvePuddle
DissolveRays
DissolveShake
DissolveSpeckle
DissolveStatic
DissolveTiles
DissolveUltraGlow
DissolveVortex
DissolveWaves
DissolveZap

Wipe Transitions
WipeBlobs
WipeBubble
WipeCells
WipeChecker
WipeCircle
WipeClock
WipeClouds
WipeDiffuse
WipeDots
WipeDoubleWedge
WipeFlux
WipeFourWedges
WipeLine
WipePixelate
WipeRectangle
WipeRings
WipeStar
WipeStripes
WipeTiles
WipeWedge
WipePlasma
WipePointalize
WipeWeave
WipeMoire
SwishPan
Swish3D

Other Transitions
CardFlip
FilmRoll
FlutterCut
HyperPull
HyperPush
ParallaxStripsTransition
StripSlideTransition
SwishPan
Swish3D
TVChannelChange WhipLash