ray-cast/ray-mmd

Pixelated Glow

Closed this issue · 8 comments

Hello, I don't really know if this is a ray-cast issue but sometimes when I put Emissive Material its Reflection looks pixelaed like this.

kddtbrp

Sorry, i can't fix it yet, i think it's caused by increase resolution or something else, so that samples are not enough to make it looks more smooth

It could be because my resolution is 2560x1440 and it stretches it. Anyways, thank you for answering!

this was actually the problem i always wanted to solve, but this is not an easy problem, that it'll take me a long time to rewrite the all of the code, so i never got around to actually do, but it will be solved in the future

I have remedied this problem by changing:

in:
PostProcessBloom.fxsub

from:
static const float2 BloomScale = 512 * float2(ViewportAspect, 1);

to:
static const float2 BloomScale = 1024 * float2(ViewportAspect, 1);

@Amani747 Thank you very much for sharing the solution in here

No problem! Now keep in mind - I did not completely learn the code so I am not sure if this is a hacky band aid or a correct fix.

At this point - I know it solved the problem for me and several others with no other noticeable side effects, did it completely fix the issue for you as well?

@Amani747 I don't know either, I would have to test it several times in order to see If that hotfix really has made it work but for the moment It seems it had because I haven't noticed any more pixelated glow thingys since I doubled the BloomScale constant like you said previously. :D/

Okay so, I've found the exact same project where this issue seemed to appear, and as you can see in those pictures, it looks like the fix @Amani747 told (#52 (comment)) really does the trick:

fixed
pic2

With that being said, I will have to Close the issue.