Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 38. Writing Shaders with Pixel Bender > Pixel Bender Kernel Language

38.2. Pixel Bender Kernel Language

You've already seen a few extremely simple kernels, during which I avoided talking about the Pixel Bender kernel language too much. Now you can jump in, explore what the language is capable of, and code it up!

38.2.1. Syntax

As you have doubtless realized by now, the kernel language is not like ActionScript 3.0. But it's not entirely foreign either. The Pixel Bender kernel language is akin to GLSL, OpenGL's shader language. Some key things to note:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial