1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

HardwareShader class

Discussion in 'Unreal 2' started by ttl, Jan 31, 2004.

Thread Status:
Not open for further replies.
  1. ttl

    ttl New Member

    Joined:
    Oct 22, 2003
    Messages:
    51
    Likes Received:
    0
    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
     
  2. Aaron Leiby

    Aaron Leiby Salamander Saver!

    Joined:
    Sep 4, 2003
    Messages:
    194
    Likes Received:
    0
    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.
     
    Last edited: Jan 31, 2004
  3. pengwinzz

    pengwinzz New Member

    Joined:
    Dec 22, 2003
    Messages:
    6
    Likes Received:
    0
    can i ask, is bump mapping supported in XMP?
     
  4. Aaron Leiby

    Aaron Leiby Salamander Saver!

    Joined:
    Sep 4, 2003
    Messages:
    194
    Likes Received:
    0
    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.
     
  5. ttl

    ttl New Member

    Joined:
    Oct 22, 2003
    Messages:
    51
    Likes Received:
    0
    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
     
    Last edited: Feb 1, 2004
  6. travking

    travking New Member

    Joined:
    Feb 1, 2004
    Messages:
    3
    Likes Received:
    0
    someone throw normal bump mapping in there and I'll make the normal maps ;)
     
  7. ttl

    ttl New Member

    Joined:
    Oct 22, 2003
    Messages:
    51
    Likes Received:
    0
    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.
     
Thread Status:
Not open for further replies.

Share This Page