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