Tagged Questions
5
votes
2answers
719 views
Different number of lights => different shader
I have a shader that computes lighting for each light.
PointLight PointLights[10];
uniform const float NumPointLights;
for(int i = 0; i < NumPointLights; i++)
{
lightVec = ...
1
vote
2answers
237 views
What is the Xbox360's D3DRS_VIEWPORTENABLE equivalent on WinXP D3D9?
I posted this on StackOverlow, but of course it should be posted here.
I am maintaining a multiplatform codebase for Xbox360 and WinXP. I am seeing an issue on the XP side that appears to be related ...