Esempio n. 1
0
 public SpecularMap(TextureReference texture)
 {
     Texture = texture;
 }
Esempio n. 2
0
 public EnvironmentMap(TextureReference texture)
 {
     Texture = texture;
 }
Esempio n. 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)
 {
 }
Esempio n. 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);
 }
Esempio n. 5
0
 public OpacityMap(TextureReference texture)
 {
     Texture = texture;
 }
Esempio n. 6
0
 public SpecularMap(TextureReference texture)
 {
     Texture = texture;
 }
Esempio n. 7
0
 public EnvironmentMap(TextureReference texture)
 {
     Texture = texture;
 }
Esempio n. 8
0
 public AmbientMap(TextureReference texture)
 {
     Texture = texture;
 }
Esempio n. 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)
 {
 }
Esempio n. 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);
 }
Esempio n. 11
0
 public EmissiveMap(TextureReference texture)
 {
     Texture = texture;
 }
Esempio n. 12
0
 public AmbientMap(TextureReference texture)
 {
     Texture = texture;
 }
Esempio n. 13
0
 public DiffuseMap(TextureReference texture)
 {
     Texture = texture;
 }
Esempio n. 14
0
 public OpacityMap(TextureReference texture)
 {
     Texture = texture;
 }
Esempio n. 15
0
 public DiffuseMap(TextureReference texture)
 {
     Texture = texture;
 }