O'Reilly logo

Blender 2.49 Scripting by Michel J. Anders

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. Creating Custom Shaders and Textures with Pynodes

It is sometimes said that although Blender has a powerful and versatile system to define materials, it lacks a proper shader language to define completely new shaders, for example, to create materials that react to light in novel ways. This is, however, not entirely true.

Blender does not have a compiled shader language but it does a have a powerful node system to combine textures and materials and these nodes can be Python scripts. This enables users to define completely new textures and materials.

In this chapter, we will learn:

  • How to write Pynodes that create simple color patterns
  • How to write Pynodes that produce patterns with normals
  • How to write animated Pynodes
  • How to write height-and ...

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