Sign in to follow this  

Pixel Shader DX Debug Errors -- Assistance

Recommended Posts

Direct3D9: VS->PS Linker: X438: (Warning) Based on pixel shader texture addressing instruction operating on sampler [1], and dimensions of texture currently set at that sampler, the current transformed vertex declaration (vertex proc. disabled) is expected to provide texcoord1.xy. However the current vertex declaration does not provide texcoord1 at all. /* Specific Vertex for the terrain */ struct TERRAIN_VERTEX { float x,y,z; D3DXVECTOR3 vNormal; DWORD diffuse; float tu, tv; float tu2, tv2; enum FVF { FVF_Flags = D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_DIFFUSE | D3DFVF_TEX1 | D3DFVF_TEX2 }; }; I also get this error and I dunno why either, I know what this error means... Direct3D9: (WARN) :Stream 0 stride and vertex size, computed from the current vertex declaration or FVF, are different, which might not work with pre-DX8 drivers

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this