16 years, 4 months ago
Highlights
16 years, 4 months ago
Quote:Original post by Halifax2I'm assuming that 'teapot2' is gMesh2 in the code. I'm also assuming that you are clearing the depth buffer before you draw this every frame. The…
16 years, 4 months ago
I'm new to HLSL, i met a problem in bump map vertex shader:VS_OUTPUT VS(float4 Pos : POSITION, float2 Tex : TEXCOORD, float3 Normal : NORMAL, float3 Tangent : TANGENT ){ VS_OUTP…
16 years, 4 months ago
I just tested D3D's Occlusion Query. My code is showed as below: if( SUCCEEDED( pd3dDevice->BeginScene() ) ) { //Occlusion Query gQuery->Issue(D3DISSUE_BEGIN); pd3dDevice-…
16 years, 4 months ago
Hi, I want to learn shader programming, now i have learned the basic of shader such as the grammar of HLSL, basic lighting with shader. Is there any good books for me to continu…
16 years, 5 months ago
Latest Activity
See all in DiscussionsI'm new to HLSL, i met a problem in bump map vertex shader:VS_OUTPUT VS(float4 Pos : POSITION, float2 Tex : …
16 years, 4 months ago
Quote:Original post by Halifax2I'm assuming that 'teapot2' is gMesh2 in the code. I'm also assuming that you are clearing the …
16 years, 4 months ago
Quote:Original post by Adam_42Try drawing mesh1 before doing the occlusion query for mesh2. That way it'll have written itself into …
16 years, 4 months ago