PDA

View Full Version : HardwareShader class


ttl
31st Jan 2004, 07: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?)


Thanks

Aaron Leiby
31st Jan 2004, 09: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.

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

Aaron Leiby
1st Feb 2004, 09:38 AM
HardwareShader is just a generic interface to RenderMonkey scripts:
http://www.ati.com/developer/sdk/radeonSDK/html/Tools/RenderMonkey.html

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.

ttl
1st Feb 2004, 01: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

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

ttl
3rd Feb 2004, 05: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.