Giter Site home page Giter Site logo

Working GI sample about renderpipeline HOT 10 CLOSED

tobspr avatar tobspr commented on July 26, 2024
Working GI sample

from renderpipeline.

Comments (10)

rdb avatar rdb commented on July 26, 2024

I don't speak for tobspr, but I might be of some help. I hosted the missing sample files here:
http://rdb.name/tobspr_renderpipeline_demoscene.7z

You will also need a patch for the GI to work on non-NVIDIA cards, tobspr hasn't committed it yet:
http://rdb.name/tobspr_renderpipeline_gi_patch.diff

from renderpipeline.

cedricp avatar cedricp commented on July 26, 2024

Thank you for that ! But it seems that it isn't working. I have enabled global illum in the .ini file, but I always have a white screen when I isolate the GI pass... Another problem, but it's just a warning :
:display:gsg:glgsg(warning): Program undefined behavior warning: Sampler object 0 has depth compare enabled. It is being used with depth texture 26, by a program that samples it with a regular sampler. This is undefined beahvior.

from renderpipeline.

cedricp avatar cedricp commented on July 26, 2024

NB: it's an NVIDIA Quadro K2000 card with the latest drivers...

from renderpipeline.

rdb avatar rdb commented on July 26, 2024

GI has to be enabled first in Config/pipeline.ini, and you need my shader fixes. Did you apply the patch that I linked?

from renderpipeline.

cedricp avatar cedricp commented on July 26, 2024

No, as you mentionned that it's for non-Nvidia cards

from renderpipeline.

rdb avatar rdb commented on July 26, 2024

It may apply to NVIDIA cards as well, and it certainly doesn't hurt to
apply it. In any case, even without the patch, you still have to enable GI
explicitly in pipeline.ini.

2014-09-10 14:10 GMT+02:00 cedricp [email protected]:

No, as you mentionned that it's for non-Nvidia cards


Reply to this email directly or view it on GitHub
#9 (comment).

from renderpipeline.

cedricp avatar cedricp commented on July 26, 2024

I've applied the patch, it's the same, if I disable/enable GI, only the bottom of the curtains are affected

from renderpipeline.

cedricp avatar cedricp commented on July 26, 2024

enableGlobalIllumination is already set to True by the way in pipeline.ini

from renderpipeline.

tobspr avatar tobspr commented on July 26, 2024

Hey, I will commit a patch for the global illumination soon, however, your issue seems to be that you enabled useHardwarePCF, which enables depth filtering. With that enabled, a depth texture cannot be sampled in a normal way, thus the GI does not work properly. Try disabling the PCF, and see if it works then. I'm working on a fix for that!

Btw, thank you rdb for hosting the files 👍 I'll think of a way to include them in the repo

from renderpipeline.

tobspr avatar tobspr commented on July 26, 2024

I've committed a fix, including rdb's patch, lemme know if it works for you!

from renderpipeline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.