Package org.openpatch.scratch.extensions.shader


package org.openpatch.scratch.extensions.shader
Provides shaders: small programs the graphics card runs for every pixel of a sprite or of the whole stage, to change how it is drawn.

A shader is a fragment shader file written in GLSL, the way Processing reads them. It works the same on the desktop and in the browser, where it is translated for WebGL.

  • Classes
    Class
    Description
    A fragment shader a sprite or the stage can be drawn with.
    The shaders belonging to one sprite or stage, and which of them is currently drawn with.