Coder Social home page Coder Social logo

Comments (5)

Myterian avatar Myterian commented on July 23, 2024

I made a post processing bloom using a c# script that samples the scene texture and it can look like the first video, when the intensity is set to high. So maybe there is some issue with sampling?

from flaxengine.

ElevenArt avatar ElevenArt commented on July 23, 2024

Perhaps. I'm not very familiar with graphic algorithms. I don't like it being this way. There is also a strange yellow shade that increases and gradually turns to white color. I was testing the PostFXVolume switch and accidentally discovered this issue. So I experimented with DDGI settings and shot it on videos. It should work so that On/Off PostFXVolume gradually changes values, according to what is set there, without these strange graphic issues.

from flaxengine.

ElevenArt avatar ElevenArt commented on July 23, 2024

In the last video, DDGI is turned off in PostFXVolume and it works, so it's definitely a DDGI issue. But maybe there is a link to other shaders in DDGI, so the problem can also be in another connected shader. Because as I looked a bit, Mafi also uses links to other shaders in the code. It definitely needs to be looked into in more detail and should be done by someone with knowledge about coded shaders, which I don't have.

from flaxengine.

ElevenArt avatar ElevenArt commented on July 23, 2024

Do you have any other shaders attached to your Bloom?

DDGI.hlsl file have these:
#include "./Flax/Common.hlsl"
#include "./Flax/Math.hlsl"
#include "./Flax/Octahedral.hlsl"

DDGI.shader file have these:
#include "./Flax/Common.hlsl"
#include "./Flax/Math.hlsl"
#include "./Flax/Quaternion.hlsl"
#include "./Flax/GlobalSignDistanceField.hlsl"
#include "./Flax/GI/GlobalSurfaceAtlas.hlsl"
#include "./Flax/GI/DDGI.hlsl"

If you have any of these shaders connected to your Bloom, then this issue could be somewhere there, maybe.

from flaxengine.

Myterian avatar Myterian commented on July 23, 2024

Just the #include "./Flax/Common.hlsl" , but what the script does is generate the pure bloom texture. The bloom itself then gets applied with a custom material in the post processing volume. So maybe it's a bug with the volume itself.

Edit: I should also add, that the intensity for the bloom gets applied in the material within the post process volume.

from flaxengine.

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.