Texture2
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 5 articles for 0.000 sec
Re: Compressed textures     

Group: microsoft.public.win32.programmer.directx.graphics · Group Profile · Search for Texture2 in microsoft.public.win32.programmer.directx.graphics
Author: John Withe
Date: Feb 25, 2008 15:21

... used textures every frame. Ok,after considering itsome more.. in a way that is not a problam. It would require some redesign, but now I set fill texture1,texture1,render object1, fill texture2,set texture2, render object2 and so on. Your suggestion would mean that i fill all textures, set texture1.1,render object1, settexture2.1, render object2, set texture 1.2, render object1 etc. It ...
Show full article (1.58Kb) · Show article thread
setting the texture stage before beginning pass 0 of an effect     

Group: microsoft.public.win32.programmer.directx.graphics · Group Profile · Search for Texture2 in microsoft.public.win32.programmer.directx.graphics
Author: Richy
Date: Feb 23, 2007 03:18

...via SetValue? I am trying to set the stages but the moment the line fx.Pass(0) is executed, my textures are unloaded. I am referring to these textures within the file as: texture base_Tex : TEXTURE0; texture other_Tex1 : TEXTURE1; texture other_Tex2 : TEXTURE2; texture other_Tex3 : TEXTURE3; but do I have to Setvalue for each of base_Tex, other_Tex1 etc etc? Thanks, Richy
Show full article (0.52Kb)
Re: accessing information from a vertex inside a pixel shader     

Group: microsoft.public.win32.programmer.directx.graphics · Group Profile · Search for Texture2 in microsoft.public.win32.programmer.directx.graphics
Author: Richy
Date: Feb 22, 2007 03:44

...= VertexFormats.Position + VertexFormats.Normal + VertexFormats.Texture0 + VertexFormats.Texture1 + VertexFormats.Texture2 + VertexFormats.Texture3 and it works a treat! Thanks Jans!!!!! Richy On... texture base_Tex : TEXTURE0; texture other_Tex1 : TEXTURE1; texture other_Tex2 : TEXTURE2; texture other_Tex3 : TEXTURE3; sampler2D baseMap = sampler_state { ...
Show full article (7.31Kb)
Re: accessing information from a vertex inside a pixel shader     

Group: microsoft.public.win32.programmer.directx.graphics · Group Profile · Search for Texture2 in microsoft.public.win32.programmer.directx.graphics
Author: Jan Bruns
Date: Feb 22, 2007 03:03

....Texcoord = Input.Texcoord; Output.Texcoord1 =Input.Texcoord1; return( Output ); } texture base_Tex : TEXTURE0; texture other_Tex1 : TEXTURE1; texture other_Tex2 : TEXTURE2; texture other_Tex3 : TEXTURE3; sampler2D baseMap = sampler_state { Texture = (base_Tex); ADDRESSU = WRAP; ADDRESSV = WRAP; MINFILTER = LINEAR; MAGFILTER = ...
Show full article (6.50Kb)
Re: accessing information from a vertex inside a pixel shader     

Group: microsoft.public.win32.programmer.directx.graphics · Group Profile · Search for Texture2 in microsoft.public.win32.programmer.directx.graphics
Author: Richy
Date: Feb 22, 2007 02:39

... ); Output.Texcoord = Input.Texcoord; Output.Texcoord1 =Input.Texcoord1; return( Output ); } texture base_Tex : TEXTURE0; texture other_Tex1 : TEXTURE1; texture other_Tex2 : TEXTURE2; texture other_Tex3 : TEXTURE3; sampler2D baseMap = sampler_state { Texture = (base_Tex); ADDRESSU = WRAP; ADDRESSV = WRAP; MINFILTER = LINEAR; MAGFILTER = LINEAR; }; ...
Show full article (6.01Kb)