Thanks to Marek my shaders are working well with the exception of one very
strange bug.  My custom shader overlays stop working entirely on rare
occasion.  So far the conditions that all must be true for problems to
occur:
1. The view model is not drawing (third person enabled or r_drawviewmodels 0
or r_drawothermodels 0).
2. The player is in a specific vis leaf of a particular map with quite a few
translucent world brushes.
3. The camera is pointing in a particular direction, which is not consistent
and seems to change every time the game is loaded.

Using the Valve refract shader as an overlay works perfectly fine all the
time, but mine do not for some reason.  I've tried copying all the flags in
the shader DLL from refract to my shaders, and I've tried doing everything
the view model rendering code does short of actually drawing the model with
no success.  The overlays are being applied in CViewRender::RenderView()
immediately after PerformScreenOverlay() is called.  Anyone have any ideas?
:(
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to