Results 1 to 4 of 4

Thread: Resources to learn Shaders

  1. #1
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts

    Resources to learn Shaders

    Hey all,

    since CoD2 supports .hlsw-shaders there should be some shader-knowledge in here for awesome effects in CoD 2/4/5 (even 1/UO)

    Here you can learn shaders instantly (needs some modern browser with WebGL):

    Sinus wave: http://glsl.heroku.com/e#13720.0
    Text in fragment shader: https://www.shadertoy.com/view/XdXGRB
    Creepy mountains: https://www.shadertoy.com/view/4sSGWm
    Rasterizer: https://www.shadertoy.com/view/XdlGzn#

    Of course this is perfect for learning 3d math (vectors, matrizes) also!
    timescale 0.01

  2. The Following 2 Users Say Thank You to kung foo man For This Useful Post:

    pluXy (23rd January 2014),smect@ (23rd January 2014)

  3. #2
    ... connecting pluXy's Avatar
    Join Date
    Jan 2014
    Location
    Barcelona
    Posts
    4
    Thanks
    1
    Thanked 1 Time in 1 Post
    Any idea of how to implement this custom shaders ingame? so far I remember that there is a waving flag shader in game that you could load it using the templates from deffiles and some other options in assman.

    I've been looking around this templates and this ones are related to techniquesets and this others to the .hlsl files, the code doesn't seem to be very hard but there is some stuff that i've got no clue why is there...

    Any ideas? easier way to get them ingame?
    "And always remember guys, if something doesn't work, just google it...."

  4. #3
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    1 or 2 yrs ago i managed to get a modified shader working in cod2 but i skipped it since its dx9 only iirc

    the first link is pretty usefull, thx for this

  5. #4
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    This one even supports vertex shaders: http://codedstructure.net/projects/webgl_shader_lab/
    timescale 0.01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •