Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Contents

PxrRampLightFilter uses a ramp to control the light. It may also be useful to artificially and artistically control light decay.




Parameters


Ramp Direction

Ramp Type

Specify in which direction the ramp is applied.
  • distToLight(0) - distance to the light.
  • linear(1) - linear ramp.
  • spherical(2) - spherical ramp.
  • radial(3) - radial ramp.

type = lineartype = radialtype = sphere


Begin Distance

Distance where the ramp starts.

begin distance = 0begin distance = 3begin distance = 6


End Distance

Distance where the ramp ends.

end distance = 5end distance = 7end distance = 9



Ramp

Ramp

Define the number of knots.


Ramp Knots

An array of knot values.


Ramp Floats

An array of float values.


Ramp Interpolation

Type of ramp interpolation:

  • linear
  • catmull-rom
  • bspline
  • constant

linearcatmull-rombsplineconstant



Multiplier

Density

Controls the strength of the projected effect.

density = 0.65density = 0.85density = 1.0


Invert

Specify whether to invert the projected texture before it is applied.

invert = offinvert =on


Intensity

Global Multiplier for both the diffuse and specular contribution below.

intensity = 1.0intensity = 1.5intensity = 2.5


Diffuse

Multiplier of this light filter result for the diffuse contribution.

diffuse = 1diffuse = 2diffuse = 3


Specular

Multiplier of this light filter result for the specular contribution.

specular = 1specular = 2specular = 3



Color Ramp

Color Ramp

Define the number of knots.


Color Ramp Knots

An array of knot values.


Ramp Colors

An array of color values.


Color Ramp Interpolation

Type of color ramp interpolation:

  • linear
  • catmull-rom
  • bspline
  • constant

linear catmull-rombsplineconstant



Combine Mode

Combine mode for PxrRampLightFilter is always multiplied.