org.deegree.rendering.r3d.opengl.rendering.dem
Class CompositingShader
java.lang.Object
org.deegree.rendering.r3d.opengl.rendering.dem.CompositingShader
public class CompositingShader
- extends Object
The CompositingShader
generates a fragment shader file for a number of texture units. The applied
colormodel is sort of a 'decall' functionality with glColor and semi transparent support.
- Version:
- $Revision: 30126 $, $Date: 2011-03-22 11:11:00 +0100 (Tue, 22 Mar 2011) $
- Author:
- Rutger Bezema, last edited by: $Author: aschmitz $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositingShader
public CompositingShader()
getGLSLCode
public static String getGLSLCode(int numTextures)
- Parameters:
numTextures
-
- Returns:
- create a fragment shader program which is programmed with a 'DECAL'-like strukture with semi-transpartent
supprt, for the given number of texture units.
main
public static void main(String[] args)
- Simple main to output the shader program.
- Parameters:
args
-
Copyright © 2011. All Rights Reserved.