13ย years, 3ย months ago
Highlights
Community contributions featured13ย years, 3ย months ago
SetTextureStageState is used for setting "textures states", how can you expect to see speculars if you don't have light? there is 'D3DFVF_SPECULAR' and 'D3DTA_SPECULAR',โฆ
13ย years, 3ย months ago
i find if rotating, for example, the color of two faces((0, 255, 0) and (255, 0, 255))' overlapping area is black, very clear is it the substract operation
13ย years, 3ย months ago
yes it is easy to accomplish it using pixel shader, but i want to try it with SetTextureStageState i find if setting D3DRS_SPECULARENABLE, the specular calculatโฆ
13ย years, 3ย months ago
now the vertex's color is white, it is odd and unlike D3DFVF_DIFFUSE
13ย years, 3ย months ago
Latest Activity
See all in Discussionsi find if rotating, for example, the color of two faces((0, 255, 0) and (255, 0, 255))' overlapping area is black, very โฆ
13ย years, 3ย months ago
SetTextureStageState is used for setting "textures states", how can you expect to see speculars if you don't have light? โฆ
13ย years, 3ย months ago
I think you must set more things to see FFP specular, here is example: //Turn on lighting and set โฆ
13ย years, 3ย months ago