Post-production color change

Literally just tried it again now with the elements as discussed - just to check…blockiness in the raw gi pass but not in any others, including the regular gi pass, as attached.
They are also present when using wrappers for shadows, so def not gone.


I get the boxes often, so often I have to disable adaptive.

Seems like either the GI or the diffuse filter element is missing. It should work as it says in the documentation and there shouldn’t be any block artifacts if the required elements are added.
Also note that you need the VRayDiffuseFilter element, not VRayRawDiffuseFilter (which was mentioned in the thread).

All I did was test what NeilG proposed on the first page of this post. He used the raw diffuse, although I tried with both raw and the standard diffuse. The result is the same as you can see attached.





Hmm…well after composing these passes those blocks disappear. This is confusing.
Are we to assume that if a pass looks wrong then we should just ignore that, as it is in fact correct?
That is very counterintuitive.

It’s not enough for this to work, the regular GI and Lighting elements are missing.
Here’s a setup that should work for raw GI and Lighting:

These are the formulas for deriving the raw elements:

VRayRawGlobalIllumination = VRayGlobalIllumination / VRayDiffuseFilter
VRayRawLighting = VRayLighting / VRayDiffuseFilter
VRayRawReflection = VRayReflection / VRayReflectionFilter
VRayRawRefraction = VRayRefraction / VRayRefractionFilter

Hmm…well after composing these passes those blocks disappear. This is confusing.
It’s actually expected, otherwise you’d probably have artifacts in the RGB too. But it doesn’t mean they should be ignored.
The block artifacts can be avoided easily by adding all the needed elements, or even deriving the elements manually in post using the above formulas.

I have no idea what is going so wrong for everyone else. It works perfectly for me exactly as i’d described.

Thanks for that explanation.
I naturally thought that an element of a render is exactly that, one part of the calculation that is able to be separated out.
I didn’t realise that in order to get that specific element that we needed literally to generate all the other elements which compose that element.

Can you post a grab of exactly what elements you add?

I do have this working but I remain curious about it.
Basically, using the passes I attached above, based on your post, I get artifacts in the passes, which when composited all go away…so that’s good. And it recreates the beauty and I can change stuff, as was the intention.
However, the fact that there were artifacts (I assume you got these too, using an adaptive dome) bugged me.
Radolslav says that they are there because I did not add the other passes, the regular GI and lighting.
So, when I do add these passes the RawGI pass comes out differently…coloured as the regular one - and there are no artifacts.
But if there is no difference in the end result then it seems the only reason to add those other passes is to make the artifacts go away.

The elements in my photoshop file are exactly as they are named in vray. I haven’t composed those out of anything - in addition to what you see I also have a ton of multimattes, zdepth, alpha etc but they dont affect anything.
I didn’t get artifacts.

Ok thanks, that’s just bizarre. I wonder how it is possible that I get artifacts with an adaptive dome, using exactly that setup that you used.
Makes no sense.
Anyway, regardless of that, it works and whatever is happening, the artifacts get cancelled out.
The fact that they can also go away by adding more elements, as Radoslav suggests, seems confusing to me, as well as the fact that it generates completely different looking rawgi passes…just odd.
If I have the regular gi and the raw gi element added then the raw gi looks like the cloured one here. If I remove the regular gi element from the list then the raw gi looks like the graysale one. This is just confusing.


If you just add together the raw GI and Lighting without any corrections, the artifacts should indeed cancel out. However if you do any corrections to the raw elements separately, the artifacts will appear in the composite image.

By the way, you can just use the VRayRawTotalLighting element if you don’t do any modifications to the raw GI and Lighting elements.

And yes, I agree it’s confusing now. Maybe we should print a warning or add the needed elements automatically.

Thanks for more info. However…
Why are these two elements different? They are both the RawGI element but from different renders. The only thing I changed is that one render has both the regular GI element and the raw GI element present in the list (the coloured one) and the other is when there is just the RawGi element in the list.
I can provide more screenshots of the setup if I am being unclear.

The explanation for this is the same as for the consistent elements from the documentation posted on the previous page. Adding the required elements allows the raw elements to be computed the same way as the regular ones, which should produce the most accurate results.

Thanks. To be honest, at this moment I don’t understand.
I will try to process the info more tomorrow to see if I can see the reasoning behind this.

Which 3d people company are they from, if you don’t mind me asking?