Talk:Shader Authoring
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?
Lightmap problems.
Has anyone gotten the light map to actually come in on the samples?
I've tried with the sdk_lightmap shader and I've compiled the advanced/SDK_LightmappedGeneric shader and tried with that.
Either way I don't get a valid lightmap in. It seems to be just all ones, and the lightmap texture coordinates seem to come in as 0.0 0.0 everywhere. (As far as I can tell that is.)
I have had no problems with the straight up "lightmappedgeneric" shader, so I am wondering if there is a step that I'm missing in the compilation of these shaders. (The textures and the projected coordinates come though fine though.)
I'd appreciate any comment. Even someone saying that they havn't had any problems. I have been pulling my hair out over this for quite little while.
Thanks. (SS0118001PC4)