Package Basic.Shaders

Class SimpleShader

java.lang.Object
Basic.Shaders.SimpleShader

public class SimpleShader
extends java.lang.Object

Simple shader example.

Related links: SimpleShader.java source, SimpleShader catalog page, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.

Scene Meta Information
meta tags   Document Metadata
title SimpleShader.x3d
description Simple shader example
creator John Stewart
translator Holger Seelig, John Carlson, Don Brutzman and Jeff Malnick
created 26 May 2009
translated 15 October 2009
modified 20 October 2019
reference http://www.opengl.org/wiki/Fragment_Shader
reference http://www.opengl.org/wiki/http://www.opengl.org/wiki/Vertex_Shader
reference https://www.web3d.org/x3d/wiki/index.php/X3D_Plugfest
subject X3D shader example
reference originals/simpleShader.x3dv
reference ShaderTutorialInstantReality.pdf
generator Titania V3.0.3, http://titania.create3000.de
comment World of Titania
outputStyle nicest
warning under development
generator X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit
identifier https://www.web3d.org/x3d/content/examples/Basic/Shaders/SimpleShader.x3d
license ../../license.html
 

This program uses the X3D Java Scene Access Interface Library (X3DJSAIL). It has been produced using the X3dToJava.xslt stylesheet to create Java source code from an .x3d model.

  • Constructor Summary

    Constructors 
    Constructor Description
    SimpleShader()
    Default constructor to create this object.
  • Method Summary

    Modifier and Type Method Description
    org.web3d.x3d.jsail.Core.X3DObject getX3dModel()
    Provide a shallow copy of the X3D model.
    void initialize()
    Create and initialize the X3D model for this object.
    static void main​(java.lang.String[] args)
    Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait