View Full Version : HardwareShader class

31st Jan 2004, 06:43 AM
I was looking at this class and it seems a way of implementing vertex & pixel shaders without native code. If anybody could give some details on using this class (I have used them a bit in directx 8 & 9) it would be greatly appreciated (Syntax of var(HardwareShader) string VertexShaderText[4]; & var(HardwareShader) string PixelShaderText[4]; perhaps?)


Aaron Leiby
31st Jan 2004, 08:15 AM
You should ask Albert Reed (al) at Demiurge Studios.
There are actually two articles on udn.epicgames.com, but they're current in the licensee-only section. Maybe he can have them exposed for mod authors.

1st Feb 2004, 06:15 AM
can i ask, is bump mapping supported in XMP?

Aaron Leiby
1st Feb 2004, 08:38 AM
HardwareShader is just a generic interface to RenderMonkey scripts:

Bumpmapping is probably one of the easier things you could do. We stayed away from hardware shaders in xmp (mostly because we didn't have time). The code should all be there, but since it was never used, I make no guarantees that it still works.

1st Feb 2004, 12:16 PM
Thanks a lot Aaron for all your help, hopefully I can get some cool shaders going when I've got some free time :) Not to mention tuning up the vapor ;p

1st Feb 2004, 12:23 PM
someone throw normal bump mapping in there and I'll make the normal maps ;)

3rd Feb 2004, 04:59 AM
The word back from Al is the documents on UDN aren't being made available to the public yet (for valid reasons) and indeed this particular class is most likely not fully functional in this version of the engine.

That being said, if any dev wants to make a mod that utilizes this class I'd be more then happy to download it :)

Maybe Unreal 2004 might use this class and give us a few more hints.

Thanks again Al & Aaron.