Talk:Shader Authoring: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Anybody get sdk_vertexlitgeneric dx9 working?)
Line 5: Line 5:
== Anybody get sdk_vertexlitgeneric dx9 working? ==
== Anybody get sdk_vertexlitgeneric dx9 working? ==


I'm able to get dx8 working but assigning dx9 gives me a wireframe and strange weight skinning.
So I've been able to get the dx8 version up and running but haven't tinkered around with it much since it's asm.  There's some things that need to change in the SDK.  the #includes in basevsshader_vertexlitgeneric_dx9_helper.cpp need to have "sdk_" prepended to them, and I needed to add a #define dx9 1 to the file to get the thing to compile correctly.  After all this it runs the thing, but I just get white back as the color. Anyone been able to get this to work like the normal vertexlitgeneric?

Revision as of 17:23, 26 September 2005

Are Valve going to update the shader system to allow for shader version 3.0?--Pon 17:21, 5 Aug 2005 (PDT)

I think I read somewhere that for the HDR stuff to run fully users will need cards supporting shader version 3.0 - so the answer is, presumably, yes? --Cargo Cult 06:13, 6 Aug 2005 (PDT)

Anybody get sdk_vertexlitgeneric dx9 working?

So I've been able to get the dx8 version up and running but haven't tinkered around with it much since it's asm. There's some things that need to change in the SDK. the #includes in basevsshader_vertexlitgeneric_dx9_helper.cpp need to have "sdk_" prepended to them, and I needed to add a #define dx9 1 to the file to get the thing to compile correctly. After all this it runs the thing, but I just get white back as the color. Anyone been able to get this to work like the normal vertexlitgeneric?