glbumper

glbumper

Synopsis

struct              GstGLBumper;

Properties

  "location"                 gchar*                : Read / Write

Description

Bump mapping using the normal method.

Examples

gst-launch -v videotestsrc ! glupload ! glbumper location=normalmap.bmp ! glimagesink
A pipeline to test normal mapping. FBO (Frame Buffer Object) and GLSL (OpenGL Shading Language) are required.

Details

struct GstGLBumper

struct GstGLBumper {
  GstGLFilter filter;
  GstGLShader *shader;
  GLuint bumpmap;
  gint bumpmap_width;
  gint bumpmap_height;
  gchar *location;
};

Property Details

The "location" property

  "location"                 gchar*                : Read / Write

Normal map location.

Default value: NULL