Chapter 4. Scene Effects and Shaders

In this chapter, we will cover:

  • Adding lights and shadows
  • Using light ramps
  • Creating particle effects
  • Animating textures
  • Adding ribbon trails to an object
  • Creating a flashlight effect
  • Making objects reflect the scene
  • Adding a custom shader generator
  • Applying a custom Cg shader

Introduction

While brilliant gameplay is the key to a fun and successful game, it is essential to deliver beautiful visuals to provide a pleasing experience and immerse the player in the game world. The looks of many modern productions are massively dominated by all sorts of visual magic to create the jaw-dropping visual density that is soaked up by players with joy and makes them feel connected to the action and the gameplay they are experiencing.

The appearance of your game matters a lot to its reception by players. Therefore it is important to know how to leverage your technology to get the best possible looks out of it. This is why this chapter will show you how Panda3D allows you to create great looking games using lights, shaders, and particles.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset