Re: problem in texturing with direct3d mobile
- From: karthik.rangaswamy@xxxxxxxxx
- Date: 24 Aug 2006 21:31:03 -0700
thanks for replying.
Well, this is what I've written for setting texture stage state:
g_pd3dmDevice->SetTexture( 0, g_pCarLRT );
g_pd3dmDevice->SetTextureStageState( 0, D3DMTSS_COLOROP,
D3DMTOP_MODULATE );
g_pd3dmDevice->SetTextureStageState( 0, D3DMTSS_COLORARG1,
D3DMTA_TEXTURE );
g_pd3dmDevice->SetTextureStageState( 0, D3DMTSS_COLORARG2,
D3DMTA_DIFFUSE );
g_pd3dmDevice->SetTextureStageState( 0, D3DMTSS_ALPHAOP,
D3DMTOP_DISABLE );
Unfortunately I dont understand any of this. I just took it from the
sample code provided with the WinMobile PocketPC SDK.
If you could elicit your view a little further, it would be of great
help.
Thanks,
Karthik.
.
- Follow-Ups:
- Re: problem in texturing with direct3d mobile
- From: Richard [Microsoft Direct3D MVP]
- Re: problem in texturing with direct3d mobile
- References:
- problem in texturing with direct3d mobile
- From: karthik . rangaswamy
- Re: problem in texturing with direct3d mobile
- From: Richard [Microsoft Direct3D MVP]
- problem in texturing with direct3d mobile
- Prev by Date: shaders & the fixed/programmable pipeline
- Next by Date: Re: Getting no debug output at all.
- Previous by thread: Re: problem in texturing with direct3d mobile
- Next by thread: Re: problem in texturing with direct3d mobile
- Index(es):
Relevant Pages
|
Loading