Пример #1
0
 public SpecularMap(TextureReference texture)
 {
     Texture = texture;
 }
Пример #2
0
 public EnvironmentMap(TextureReference texture)
 {
     Texture = texture;
 }
Пример #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)
 {
 }
Пример #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);
 }
Пример #5
0
 public OpacityMap(TextureReference texture)
 {
     Texture = texture;
 }
Пример #6
0
 public SpecularMap(TextureReference texture)
 {
     Texture = texture;
 }
Пример #7
0
 public EnvironmentMap(TextureReference texture)
 {
     Texture = texture;
 }
Пример #8
0
 public AmbientMap(TextureReference texture)
 {
     Texture = texture;
 }
Пример #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)
 {
 }
Пример #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);
 }
Пример #11
0
 public EmissiveMap(TextureReference texture)
 {
     Texture = texture;
 }
Пример #12
0
 public AmbientMap(TextureReference texture)
 {
     Texture = texture;
 }
Пример #13
0
 public DiffuseMap(TextureReference texture)
 {
     Texture = texture;
 }
Пример #14
0
 public OpacityMap(TextureReference texture)
 {
     Texture = texture;
 }
Пример #15
0
 public DiffuseMap(TextureReference texture)
 {
     Texture = texture;
 }