Fragment lighting Properties panel

The fragment lighting Properties panel is used to edit fragment lights created using CreativeStudio.

Fragment Lighting Category Settings and Features

This page describes fragment lighting category settings and features.

fragment lighting Properties panel
A Categories Allows you to show/hide settings used in the fragment lighting category.
B General Here you can specify the type of fragment lighting and which lookup table set to use.
For the light type, select either Directional light, Point light or Spotlight.
Use the checkbox to enable/disable fragment light.
C Ambient color Allows you to set the ambient color for the fragment light.
D Diffuse Color Allows you to set the diffuse color for the fragment light.
E Specular Color 0 Allows you to set the Specular 0 color for the fragment light.
F Specular Color 1 Allows you to set the Specular 1 color for the fragment light.
G Position Allows you to set the position of the fragment light in terms of X, Y and Z.
H Direction: Sets the light direction.
If the light has a hierarchical structure, sets whether to inherit rotation from parent node.
I Distance attenuation This option is enabled when the type of light is Point light or Spotlight.
Using Distance attenuation allows you to set the distance between the model and light.
The Distance attenuation and Angular attenuation settings are turned off by default. Be sure to select the appropriate checkboxes when using these features.
J Angular attenuation This option is enabled when the type of light is Spotlight.
Using Angular attenuation allows you to set the angle between the model and light.
K User Data Sets optional data used by the game developer. The data set here is passed as is to the application, and is not used by CreativeStudio.

Distance attenuation

Distance attenuation can be set when the light type is Point light or Spotlight.

A lookup table can also be used to make settings and/or edits.

Fragment Lighting Category Distance Attenuation

Note: The Enable checkbox is cleared by default, so be sure to mark this checkbox when setting Distance attenuation.

Note: If you are using a lookup table, you must first create a lookup table set and select that lookup table set in the General category. For details on lookup table sets, click here.

Angular attenuation

Angular attenuation can be set when the light type is Spotlight.

A lookup table can also be used to make settings and/or edits.

Fragment lighting category angular attenuation

Note: You need to mark the Enable checkbox in the Distance attenuation category when using Angular attenuation.

Note: As with Distance attenuation, when using a lookup table you must select which lookup table set to use in the General category. For details on lookup table sets, click here.

Input angle

The input values used in lookup tables are called input angles because angles are used.

For details on the types of input angle, click here.

Scale

Here, the scale setting applied to lookup table output relates to light intensity.

The larger the scale, the stronger the light. The smaller the scale, the weaker the light.


CONFIDENTIAL