Ambient Light and Fragment Light Settings

This section describes the basics of creating and setting ambient lights and fragment lights.

Ambient Lights and Fragment Lights

Loading Models

On the CreativeStudio menu, select FileOpenIntermediate file to load the model intermediate file.

This example is based on a spherical model that uses lambert.

Cube model sample display image 01

Reference:
The size and position of the sample sphere being used are given below.
Here, Maya is being used as the 3DCG tool. (Defaults are used for all tool settings.)

Changing lighting settings

Under Lighting on the material Properties panel, select Enable vertex lighting.

Fragment light combiner image

Checking the Texture Combiner

Select MaterialCtr1 in the Contents panel and check the settings for Combiner 0 in the material Properties panel.

For details on texture combiners, click here.

Ambient Lights and Fragment Lights

This configures the material to be affected by only the primary color.
With this configuration, the B: Source 1 and C: Source 2 settings are not used.

Fragment light Description
Primary color Lighting results for emission, ambient, diffuse lighting.
Secondary color Lighting results for specular lighting.

Creating Ambient Lights

On the CreativeStudio menu, click CreateLightAmbient light.

This creates an ambient light and displays AmbientLight in CreativeStudio's Content panel.

Image after an ambient light is created

Because the ambient color of the material is the ambient color of all lights, the entire model takes on the same hue without any shadowing.

Creating Fragment Lights

On the CreativeStudio menu, select CreateLightFragment light.

This creates a fragment light and displays Light in CreativeStudio's Content panel.

Fragment light creation preview

Once a fragment light is created, you can change the diffuse color and specular color using the fragment lighting Properties panel.

For details on the fragment lighting Properties panel, click here.

Fragment light

Here, we have swtiched the diffuse color of the fragment light to red.

Adjusting the Ambient Color

This section provides a simple explanation of how to adjust the ambient colors configured when creating ambient lights and fragment lights.

Adjusting the global ambient

You can adjust the ambient color (environmental light) of all models in a scene by adjusting the color value of the global ambient (ambient light).

Adjusting the material ambient color

You can adjust the ambient color (environmental light) for each model by adjusting the value of the ambient color and emission color on the material Properties panel.

When this is done, the value of the global ambient color, material ambient color, and emission color are calculated as given below.

Material emission color + Ambient light x Material ambient color

Note: Only one ambient light value can be set inside a scene.
Even if many values are set, the ambient light will take the value that was set last.

Note: If 0 has been set for the RGB values of the ambient light or material ambient, values will remain zero and the Preview will not change no matter how much you try to change the RGB values of the fragment light ambient color.


CONFIDENTIAL