Testing new Parallax shaders by Keef

Discussion in 'Dev Blogs' started by Empires Dev Blog, Oct 14, 2010.

  1. Empires Dev Blog

    Empires Dev Blog Dev Blog RSS Feed

    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
  2. Varbles

    Varbles Simply Maptastic. Staff Member

    Messages:
    2,093
    Likes Received:
    26
    Trophy Points:
    0
    fix those stupid fuckin BE boxes with this
     
  3. flasche

    flasche Member Staff Member Moderator

    Messages:
    13,299
    Likes Received:
    168
    Trophy Points:
    0
    while u add those, could u please add the textures in the correct way too please :P

    no jk, i know its only a shader and you dont actually need to retexture them - but i allways found it so incredibly wrong how those textures are applied (the botton textures i all around the crate, while the side texture is on the top) - and now with parallax it looks even wronger ...
     
  4. CyberKiller

    CyberKiller Nyooks!

    Messages:
    1,107
    Likes Received:
    8
    Trophy Points:
    0
    Looks really nice, but how much would this cause fps to drop? I have a geforce 460 so it probably wouldn't be a problem for me but what about the less fortunate people?
     
  5. MOOtant

    MOOtant Member

    Messages:
    4,047
    Likes Received:
    0
    Trophy Points:
    0
    mat_parallax_expensive 0 is default and that is close to no FPS drop in comparison with bumpmapping. Expensive is like 50% drop when starting at parallax mapped material.

    Shadows haven't been added yet and they'll cause additional drop but that'll be another cvar.
     
  6. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    that looks awesome but, a 50% hit to fps is incredibly huge. So if we were crouched next to one of these, most video cards would cry ehh?
     
  7. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    50%? Shit, I might drop to 150fps.
     
  8. Omneh

    Omneh Member

    Messages:
    1,726
    Likes Received:
    5
    Trophy Points:
    0
    dubee might drop to half a frame per second
     
  9. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    I lol'd.
     
  10. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    Not everyone is going to get a 50% drop; people with 80 fps might get 40 fps, people with 200 might drop to 80, dubee may not drop at all (well yeah perhaps from 8 to 7), people with 30 could drop to 23, the percentage varies a lot depending on how much fps you have
     
  11. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    We should have a competition to try give Dubee negative FPS so that his game starts playing backwards.
     
  12. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    Well from what I understand he says if your staring at it... i guessing taking up the whole viewing box you get a 50% hit to fps... otherwise it will depend on how much of your screen is taken up by the object. However... if there were several objects in view with the parallax shaders would that multiply the amount of fps drop or is it still tied to how much of the screen is being used by the objects?
     
  13. MOOtant

    MOOtant Member

    Messages:
    4,047
    Likes Received:
    0
    Trophy Points:
    0
    It depends on number of pixels drawn using texture with parallax mapping.

    BY DEFAULT EXPENSIVE MODE IS OFF. Most of the time it gives very small visual differences. It's mostly for people with too many FPS.
     
  14. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    Ok so its going to be another checkbox that says... Sexy Mappping? ok.
     
  15. [lodw]keef

    [lodw]keef Hobbit

    Messages:
    1,336
    Likes Received:
    3
    Trophy Points:
    0
    basically ya
     
  16. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    I have SM 4.0
     
  17. Demented

    Demented Member

    Messages:
    2,337
    Likes Received:
    0
    Trophy Points:
    0
    Ace idea. When is Empires getting penumbra shadows?
     
  18. Chris0132'

    Chris0132' Developer

    Messages:
    9,482
    Likes Received:
    0
    Trophy Points:
    0
    It already has them, although I think source might be getting them on a large scale with the advent of portal 2.
     
  19. Dubee

    Dubee Grapehead

    Messages:
    8,636
    Likes Received:
    0
    Trophy Points:
    0
    sadly I have a better computer than a lot of the players. They just aren't as vocal as me.
     
  20. Demented

    Demented Member

    Messages:
    2,337
    Likes Received:
    0
    Trophy Points:
    0
    Besides sunradius for the light_env, I don't know of any. Lightmaps are pretty good at faking them for point lights, so long as you don't drop the scale down to 1 or 2.
     

Share This Page