21 years, 3 months ago
Highlights
Thx your reply!!My Vs and PS codes as follws:////////////////////vs_2_0dcl_position0 v0;dcl_position1 v1;mov oPos,v0;mov oT0.xy,v1;/////////////////////c0 [scale_x,scale_y,0,0]…
21 years, 3 months ago
hi... I have a question? There are two methods for reduction pixel shader cost as follows: 1.Z-Pass: Before rendering all objects,I write z-value to z-buffer for all objects. 2.…
21 years, 1 month ago
21 years, 6 months ago
In Pixel Shader(2.0) , I get a offset value from texture(B)(D3DUSAGE_RENDERTARGET),and use it to sample another texture(A)(D3DUSAGE_RENDERTARGET).if I change texture(B) format f…
21 years, 3 months ago
Sorry for my English. I do some things as follows: 1. Create two render-target texture S(scene) and B(bump). 2. Render scene to S texture. 3. Render some objects(object's textur…
21 years, 3 months ago
Latest Activity
See all in Discussionshi... I have a question? There are two methods for reduction pixel shader cost as follows: 1.Z-Pass: Before rendering all …
21 years, 1 month ago
In Pixel Shader(2.0) , I get a offset value from texture(B)(D3DUSAGE_RENDERTARGET),and use it to sample another texture(A)(D3DUSAGE_RENDERTARGET).if I change texture(B) …
21 years, 3 months ago
Thx your reply!!My Vs and PS codes as follws:////////////////////vs_2_0dcl_position0 v0;dcl_position1 v1;mov oPos,v0;mov oT0.xy,v1;/////////////////////c0 [scale_x,scale_y,0,0] => scale bump offset
21 years, 3 months ago