Nau3D

3D Engine
  • Nau3D
  • Tutorial
  • XML Documentation
  • About
XML Documentation » materialLib » materials » material » shader

shader

 Add comments
 

Tag: shader
Parent tag: material
Attributes: name (string) – the name of a previously defined shader.

Child tags:

  • values

A shader in a material uses a previously defined shader specifying the source code, and defines the uniform values.

Example:

	
<shader name="font">
	<values>
	...
	</values>
</shader>

 Posted by nau3d_admin at 4:44 am

 Leave a Reply Cancel reply

You must be logged in to post a comment.

shader

  • values
    • valueof
© 2014 nau3d Suffusion theme by Sayontan Sinha