1 of 15

Advanced Game Art and Production

Week 5 (Happy Halloween!)

2 of 15

Course Schedule

Week 01

Discussion

Introduction

Rendering Basics

(Shaders)

Week 02

Discussion

Rendering Basics

(Lighting, Image Effects)

Week 03

Discussion

Procedural Meshes and Manipulation

Due

Assignment 1

Week 04

Discussion

Particle Effects

Week 05

Discussion

Advanced Shaders, Mesh Manipulation

Due

Assignment 2

Week 06

Discussion

Advanced Lighting

Due

Assignment 3

Week 07

Discussion

Advanced Procedurals

Due

Project Deliverable 1

Week 08

Discussion

??

Week 09

Discussion

??

Due

Project Deliverable 2

Week 10

Discussion

??

Due

Project Deliverable 3

FINALS Week

Discussion

Project Presentations

3 of 15

DISCUSSION

Advanced Light, Shader, and Image Effect Techniques

4 of 15

Preview

  • Let’s Get Spooky!
  • Show Your Assignments

5 of 15

Let’s Get Spooky: Class Exercise

  • Lightmaps are useful, but realtime lights have uses as well?

What are some uses of real-time lights?

6 of 15

Uses of Real-time Lights

We can use scripts to manipulate values

Real-Time Light

Color

Intensity

Cookie (image)

Hard/Soft Shadows

7 of 15

Let’s Get Spooky: Scripted Lights

After some time of calm, lots of quick flashes followed by more calm.

A continuous glow that has a flickering intensity. Maybe some color change.

LIGHTNING

FIRE

Think about the problem. Scope out what is needed.

8 of 15

Let’s Get Spooky: Lightning

  • Wait a time interval
    • Light color is Color * 0f to make it dark
  • Turn on Lightning
  • Rapid on/off for a second
    • Multiply color by some value
  • Turn lighting off
  • Reset time interval

(flicker too fast for GIF)

9 of 15

Let’s Get Spooky: Flickering Flame

  • Continuously modify color to become darker and lighter

10 of 15

Let’s Get Spooky: Blood!

Blood spews from some center point, goes in some direction, has gravity

Blood hits surfaces and leaves behind a stain that goes away over time

INITIAL

SPLATTER

Think about the problem. Scope out what is needed.

11 of 15

Let’s Get Spooky: Blood!

  • Emitters and Sub-Emitters can collide
    • Physics for collisions: Bounce
    • Birth, Collision, and Death sub-emitters
  • We want to sub-emit splatters upon collision

12 of 15

Let’s Get Spooky: Blood!

13 of 15

Let’s Get Spooky: RED

  • Let’s look at a custom image effect that we can make ourselves!
  • Add a RED overlay to the camera that we can adjust to add spookiness

14 of 15

Preview

  • Let’s Get Spooky!
  • Show Your Assignments

15 of 15

THE END

Assignment 3 Due Next Week