Table of Contents

Class SpotSpecularEffect

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Core.dll

Use the spot-specular lighting effect to create an image that appears to be a reflective surface where the light source is limited to a directed cone of light. This effect uses the alpha channel as a height map and lights the image with a point light source.

The color of the output bitmap is a result of light color, light position, the direction of the cone and the surface geometry according to the specular portion of the Phong lighting model.

The alpha channel output for each pixel with specular lighting is the maximum of the red, green, and blue channel outputs for that pixel.

For more information, see Spot-specular lighting effect

public sealed class SpotSpecularEffect : DeviceEffect<SpotSpecularEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inheritance
SpotSpecularEffect
Implements
Inherited Members
Extension Methods

Constructors

SpotSpecularEffect(IDeviceEffectFactory)