Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Shader Issues

Years of Service
User Offline
Joined: 26th Feb 2005
Posted: 27th Feb 2005 05:05
I'm trying to run this simple shader code:

It runs great with DX9 and I tried to port it over to Dark SDK C++. I am using the dbSetEffectOn() function. If you do not load an object then it's supposed to create an object and apply the shader. I've tried this but it fails. I then learned that you need to add another Semantic to the global variables. So I added the:
float4x4 matWorldViewProj : WorldViewProjection;
and I still get a crash. I also tried loading an object to test if that was the issue. Why are DG's shaders different? Is it just because of the damn internal math representation of matricies/vectors?

Thanks for any and all help,

Login to post a reply

Server time is: 2020-09-20 12:25:46
Your offset time is: 2020-09-20 12:25:46