OK, I have implemented the LUA code that was posted by that guy on
facepunch.com into C++. I am having a couple problems though, and
translation issues that maybe Garry can help with.

Here is the code: http://www.copypastecode.com/16117/?view=lines

I included the header at the top and the important definitions underneath
(NOT COMPILABLE). I implemented this guy as a IScreenSpaceEffect and it
works GREAT. The only issue I am having is the glow is not being cutout
where the model is. I believe the problem lies with the way the stencil is
being created.

Garry, what does the GetRenderTarget(...) function actually do? Right now I
am doing CTextureReference::InitRenderTarget(...)

Also, what does cam.IgnoreZ( ... ) do? I cannot find an equivalent call in
the C++

One last thing, "pp/blurx" does not exist in the Source Materials. Is this a
Garry's Mod material?

Thanks for your help so far!

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

Reply via email to