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 / How do you convert 1_4 shaders to 1_1

Author
Message
Dodga
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location:
Posted: 10th Aug 2010 12:35
I've searched the forums high and low. Everytime I call dbSetEffectConstantVector I get a visual studio 2008 debug error. I had limited success converting a shader to 1_1 from 1_4 and it cleared up that problem for one program, but I'm trying to use the per pixel lighting shader and have converted it(in my limited knowledge) to this:


But it still crashes, seems like something wrong with the pixel shader version, can I get some help with this?
Serial Velocity
16
Years of Service
User Offline
Joined: 24th Aug 2008
Location:
Posted: 12th Aug 2010 12:22
Does it come up with any errors whatsoever? Try using the command dbPerformChecklistForEffectErrors() or whatever it is to get the errors returned from the effect file.

GDKUtilities, a utility library for DarkGDK, avaliable here

Login to post a reply

Server time is: 2024-11-19 20:18:39
Your offset time is: 2024-11-19 20:18:39