Fun with Light Cookies
Power to the People

Transform Lights with Image Maps

 

Introduction

In this tutorial, we'll experiment with grayscale maps controlling light shaders (cookies).

This tutorial requires:

Pixels3D | studio | v3.x

Downloads
Tutorial Support Files
The Plan

We're going to create a Light Shader that simulates the caustic pattern emitted by a flashlight.

Open an existing scene, or use the Primitives scene included with the tutorial support files.

Create a Dim Light Shader

Select the Light in the scene, and create a new light shader for it. This light will create the slight blue ambience visible in the dark.

Use the settings on the right -

Create a Flashlight Map

A Flashlight Map is relatively simple to create in Photoshop.

Use the gradient editor to create something similar to the image on the right.

With the radial gradient tool, drag from the center of an image outward, and there you have it.

The flashlight map is included with the support files.

Create the Flashlight Shader

Create a new light, and a new shader for it.

Load the flashlight map into the Diffuse Value, and Specular Value nodes. This limits the intensity of the light to the map.

Set up the FlashLight
Change the light type to Spot.
Quick Render
Setting a few keyframes results in the appearance of a flashlight moving across the scene.
But Wait...There's more.

If we use the star map, available in the tutorial support files , in the Diffuse Value / Specular Value nodes, and set the light type to Point, the map will be tiled infinitely, and projected onto the entire scene!

Quick Render
A quick render shows the projection of the star map on the scene.
Finishing Up

By setting only two position keyframes for the point light, the entire projection shifts for a 'disco lights' effect.

 

Homework

Experiment with various image maps within light shaders.

Don't forget to show your work.

 

 

Contact Us | Privacy Notice
Copyright © 2000 Pixels Animation Studios, Inc. All rights reserved.
1-619-220-4902