Exemple #1
0
 public SpecularMap(TextureReference texture)
 {
     Texture = texture;
 }
Exemple #2
0
 public EnvironmentMap(TextureReference texture)
 {
     Texture = texture;
 }
Exemple #3
0
 /// <summary>
 /// Creates a default normal map with given texture
 /// and Dot3 Bump Mapping.
 /// </summary>
 /// <param name="texture"></param>
 public NormalMap(TextureReference texture)
     : this(texture, NormalMapType.ParallaxMapping)
 {
 }
Exemple #4
0
 /// <summary>
 /// Creates a normal map with given texture and type
 /// </summary>
 /// <param name="texture">Texture reference</param>
 /// <param name="type">Type of normal mapping</param>
 public NormalMap(TextureReference texture, NormalMapType type)
 {
     Texture       = texture;
     Type          = type;
     ParallaxScale = new Vector2(0.03f, -0.025f);
 }
 public OpacityMap(TextureReference texture)
 {
     Texture = texture;
 }
Exemple #6
0
 public SpecularMap(TextureReference texture)
 {
     Texture = texture;
 }
Exemple #7
0
 public EnvironmentMap(TextureReference texture)
 {
     Texture = texture;
 }
Exemple #8
0
 public AmbientMap(TextureReference texture)
 {
     Texture = texture;
 }
Exemple #9
0
 /// <summary>
 /// Creates a default normal map with given texture
 /// and Dot3 Bump Mapping.
 /// </summary>
 /// <param name="texture"></param>
 public NormalMap(TextureReference texture)
     : this(texture, NormalMapType.ParallaxMapping)
 {
 }
Exemple #10
0
 /// <summary>
 /// Creates a normal map with given texture and type
 /// </summary>
 /// <param name="texture">Texture reference</param>
 /// <param name="type">Type of normal mapping</param>        
 public NormalMap(TextureReference texture, NormalMapType type)
 {
     Texture = texture;
     Type = type;
     ParallaxScale = new Vector2(0.03f, -0.025f);
 }
Exemple #11
0
 public EmissiveMap(TextureReference texture)
 {
     Texture = texture;
 }
 public AmbientMap(TextureReference texture)
 {
     Texture = texture;
 }
 public DiffuseMap(TextureReference texture)
 {
     Texture = texture;
 }
Exemple #14
0
 public OpacityMap(TextureReference texture)
 {
     Texture = texture;
 }
Exemple #15
0
 public DiffuseMap(TextureReference texture)
 {
     Texture = texture;
 }