--
[ Picked text/plain from multipart/alternative ]
 hmm, it appears that the issue is related to my video card.

the directx hardware level is at 8.1 (which only allows me to write assembly
pixel/vertex shaders)

so if there is a way to force my MOBILITY RADEON 9000 to run on the
9.0hardware level, it looks like im out of look until i get a new
computer(
since i'm on a laptop..)


Let me thank you for wasting your time :-)



----------------------------------------------------------------------------------------------------------------------------



When running build_sample_shaders.bat i get an error
  ** *D:\mymod\src\sdkshaders>*build_sample_shaders.bat -game "d:\Program
Files\steam\steamapps\SourceMods\Zombie"
The system cannot find the path specified.
--------------------------------
sdk_shaders
--------------------------------
shaders\fxc\sdk_lightmap_ps20.vcs
shaders\fxc\sdk_lightmap_vs20.vcs
shaders\fxc\sdk_particle_ps11.vcs
shaders\fxc\sdk_particle_vs11.vcs
shaders\fxc\sdk_postprocess_ps20.vcs
shaders\fxc\sdk_postprocess_vs20.vcs
6 File(s) copied
The .vcs files copy to my mod directory fine...
I have built the game_shader_generic_sample.dll without error.
Note: i added Yes (/INCREMENTAL) to the "Enable incremental linking" in the
project settings, due to the error
"LINK : warning LNK4098: defaultlib 'LIBC' conflicts with use of other libs;
use /NODEFAULTLIB:library"
i also added /NODEFAULTLIB:"LIBC", and i also added "$(TargetPath)" to
shaderlib.lib, tier0.lib, and vstdlib.lib's Outputs.
the .DLL is compiling without any errors, or warnings.

Moving on
I have placed the code that is commented out inside of the
sdk_postprocess.cpp into my CViewRender::RenderView class method.

it is placed directly after the line containing
"GenerateOverdrawForTesting();"

once i run (debug release active) i see a Fulbright white screen. if i
select a weapon with a muzzle flash the white screen disappears.
I have tried using a different material that doesn't use the sdk_postprocess
shader, and the material is drawn correctly on the screen.


my directory setup is as follows:
my source directory is at D:\mymod\src
my mod directory is at D:\Program Files\Steam\Steamapps\SourceMods\Zombie
my MSVC directory is at D:\Program Files\Microsoft Visual Studio .NET 2003
my perl directory is at C:\perl
my directX sdk directory is at C:\DXSDK

I can't seem to figure out what the problem is. if you need any additional
information, please let me know.
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to