O'Reilly logo

Panda3D 1.6 Game Engine by Dave Mathews

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7: Making it Fancy: Lighting, Textures, Filters, and Shaders

Using lights

Question number

Answer

1

The position and rotation of the NodePath.

2

AmbientLight, DirectionalLight, PointLight, SpotLight

3

It allows per-pixel lighting.

Understanding textures and TextureStages

Question number

Answer

1

A TextureStage is a container for textures that can be applied to objects.

2

To set up the options and variables for how a texture is displayed on an object.

3

Modulate, Add, Replace, Decal, Blend, Gloss, Glow, Normal, ModulateGloss, and ModulateGlow.

4

It writes a NodePath, and all its children, into a bam file that contains all of the options that have been applied to those NodePaths.

Setting up a sky sphere

Question number

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required