Announcement

Collapse
No announcement yet.

Darkplaces: Blinking artifacts

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rivarez
    started a topic Darkplaces: Blinking artifacts

    Darkplaces: Blinking artifacts

    Hi All! I have a problem with blinking artifacts on textures in Darkplaces engine. Something can seen on the screenshot. The "r_shadow_realtime_world_compile 0" command reduces the artifacts, but not fully removes them. The "r_shadow_deferred 1" and "r_shadow_shadowmapping 0" are fully removes artifacts, but makes the shadows looks bad. So my problem is that my GTX770 with latest drivers have a trouble with drawing the soft shadows in Darkplaces in Windows 8.1. Be very grateful on any ideas...
    Here the screenshot http://www.ripe-exe.com/dp20150526221509-00.png

  • Haeylleh
    replied
    Any way to get decals to show up on .bsp models I spawn?
    (not static entities)

    Leave a comment:


  • Henry
    replied
    The cause and solution for the artifact issue in Darkplaces is not offsetmapping. Offsetmapping is only enhancing the issue effect. Duke is correct, artifacts can be seen even without offsetmapping enabled.
    You can best see it when playing without external rtlights and enabling rtworld. The artifacts will then be worse and are also there even without offsetmapping.

    It is caused from shadow rendering when enabling rtworld.


    There are several solutions available to completely fix the artifacts, even when offsetmapping is enabled:

    A. Switch to stencil shadows by setting this cvar to 0:
    r_shadow_shadowmapping 0

    B. Switch to image based lighting by setting this cvar to 1:
    r_shadow_deferred 1

    C. Use this geforce driver (it has fully Geforce 7 support and optimizations):
    Geforce 335.23


    A. and B. work with any driver version. C. has a drawback: Normals for v_weapons are borked.

    I hope this brings some light into this issue.
    If you want this issue to be fixed once and for all, you should contact LH rather than philosophizing about it.

    Leave a comment:


  • talisa
    replied
    hmm you're the first to report seeing artifacts with offsetmapping disabled

    try going into the graphics menu and enable&disable options there to see
    if its perhaps one of options there which causes the artifacts for you?

    Leave a comment:


  • Duke
    replied
    Originally posted by talisa View Post
    if you wouldve actually read through this thread you would see the cause (and solution) for this issue was already found
    I still see artifacts with r_glsl_offsetmapping off

    Leave a comment:


  • talisa
    replied
    if you wouldve actually read through this thread you would see the cause (and solution) for this issue was already found

    Originally posted by talisa View Post
    ive done some investigating by creating a new setup and one by one adding items like RT-lights, VISed maps and HD textures untill i found what causes it.
    and none of them seemed to be causing the problem, so i looked at settings i enabled, mainly offsetmapping setting.

    and it would seem that enabling offsetmapping is what causes the artifacts.
    enable offsetmapping, artifacts appear in shadows. disable offsetmapping, artifacts are gone

    Leave a comment:


  • Duke
    replied
    When I use a newer version of Dark Places I get artifacts when I turn the lighting up to full in options. But When I use an older version of Dark Places (June 28, 2011 release) there is no problems at all. My current video card is a GeForce Titan X

    Leave a comment:


  • Rivarez
    replied
    Originally posted by Seven View Post
    I am using an nvidia card <9xx series and a newer driver version. I have no artifact issues with offsetmapping.
    So, what you say does not apply to everyone.
    So, please show me, where i said about everyone?

    Originally posted by Seven View Post
    "smoke over the lava in hard difficulty hall" ? There is no smoke in regular Quake. You seem to use a small mod.
    I happen to know this mod and I can see the smoke particles just fine with driver version >320.49.
    So, this statement is also not true in general.
    So, you had time to post your message before i had time to edit mine. I mistakenly run the different versions of DP and this gave the different effects.

    So, i edited my previous post to be the truth in general )
    Last edited by Rivarez; 06-02-2015, 10:51 AM.

    Leave a comment:


  • Seven
    replied
    Originally posted by Rivarez View Post
    Summary, at this time there is only one way(as right Talisa said) to resolve the problem for NVidia users(except 9xx series) - use a 320.49 driver.
    I am using an nvidia card <9xx series and a newer driver version. I have no artifact issues with offsetmapping.
    So, what you say does not apply to everyone.


    Originally posted by Rivarez View Post
    Also note, the 320.49 driver not only removes the artifacts, but shows the effects that aren't draws by latest 353.06 driver(example, a smoke over the lava in hard difficulty hall).
    "smoke over the lava in hard difficulty hall" ? There is no smoke in regular Quake. You seem to use a small mod.
    I happen to know this mod and I can see the smoke particles just fine with driver version >320.49.
    So, this statement is also not true in general.

    The root cause must be somewhere else then.

    Leave a comment:


  • Rivarez
    replied
    Summary, at this time there is only one way(as right Talisa said) to resolve the problem for NVidia users(except 9xx series) - use a 320.49 driver.
    There is a few console commands removes the artifacts, but all of them degrades the picture quality.
    Last edited by Rivarez; 06-02-2015, 10:31 AM.

    Leave a comment:


  • talisa
    replied
    Originally posted by xaGe View Post
    Exactly, it looks so much better with parallax mapping that's why I just deal with the few artifacts I see.
    totally, the game looks a million times fancier with reliefmapping enabled!

    so i also decided to just deal with the few artifacts, as without latest drivers you cant play the latest games
    Last edited by talisa; 05-30-2015, 08:23 AM.

    Leave a comment:


  • xaGe
    replied
    Exactly, it looks so much better with parallax mapping that's why I just deal with the few artifacts I see.

    Originally posted by Rivarez View Post
    yes, you're right, a "r_glsl_offsetmapping=1" command removes the artifacts, but it turn off the parallax mapping and textures are looking flat

    Leave a comment:


  • Rivarez
    replied
    Originally posted by Cobalt View Post
    Not sure, does this mean the lit file has no effect, and the problem remains?
    yes, the problem remains

    Leave a comment:


  • Cobalt
    replied
    Not sure, does this mean the lit file has no effect, and the problem remains? Or does it mean the artifacting is gone?

    Originally posted by Rivarez View Post


    Does not makes effect
    (

    Leave a comment:


  • Rivarez
    replied
    Originally posted by Cobalt View Post
    Oh ok, its like noise / artifacting , yea I have seen that before on some of the ammo pickups which are BSP models. It seemed to me it was angle dependent when I was examining it.
    Yes, it's depend on player position includes the view angle. This http://www.ripe-exe.com/dp20150529073510-00.png screen shows the bug better than previous shot. And this artifact can be fully removed by "r_shadow_realtime_world_compile 0" command.

    Originally posted by Cobalt View Post
    Are you running the latest Version of DP?
    Yes

    Originally posted by Cobalt View Post
    Try putting e1m2.lit in the maps folder , from here:
    Does not makes effect

    Originally posted by talisa View Post
    and it would seem that enabling offsetmapping is what causes the artifacts. enable offsetmapping, artifacts appear in shadows. disable offsetmapping, artifacts are gone
    yes, you're right, a "r_glsl_offsetmapping=1" command removes the artifacts, but it turn off the parallax mapping and textures are looking flat

    Leave a comment:

Working...
X