Class PointSpecularEffect
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Core.dll
Use the point-specular lighting effect to create an image that appears to be a reflective surface.
The effect uses the alpha channel of the image as a height map and a point light source that you
position, and calculates the reflection and light according to the specular portion of the Phong
lighting model.
The color of the output bitmap is a result of light color, light position, and the surface geometry.
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 Point-specular lighting effect
public sealed class PointSpecularEffect : DeviceEffect<PointSpecularEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
- Inheritance
-
PointSpecularEffect
- Implements
- Inherited Members
- Extension Methods