Brute force Test Very slow :(

Can you explain why the scanned data is so different from the refractive index database - for example, here is glass https://refractiveindex.info/?shelf=glass&book=CORNING-display&page=EagleXG
It obviously starts at 4% and goes up to 100% reflectivity at grazing angle, while you are saying that glass has “7-12% max total reflectivity” at 90 degrees !!
Am I misunderstanding something?

Looking at your measurements it seems there is no rule of thumb to use or that good old fresnel workflow is ok only for a handful of materials while most have weird ass curves with darkening /brightening at edges at will :confused:
I’ve noticed the darkening of edges on diffuse materials as well, how would we best reproduce this behavior with regular vray material (obviously sending every single material to be scanned is not feasable)
Do you have any workflow suggestions?

Can you explain why the scanned data is so different from the refractive index database - for example, here is glass https://refractiveindex.info/?shelf=…y&page=EagleXG
It obviously starts at 4% and goes up to 100% reflectivity at grazing angle, while you are saying that glass has “7-12% max total reflectivity” at 90 degrees !!
Am I misunderstanding something?
https://refractiveindex.info/downloa…splayglass.pdf
Because it’s a multi-layer, multi-coated, very specifically designed type of glass (see the comment in my previous post about coats on glasses.). :slight_smile:
EDIT:Further, measuring the last 15 to 25 degrees is very often source of noise and bad data (it’s hard: if’ it’s away from you, you don’t see it.), and so many of those measurements floating around are interpolated in that area, not exact. Literature on the subject isn’t vast, nor simple, as it deals more with photonics and strict physical laws which aren’t easy to get around of, in real life, but it’s a commonly known issue, difficult to avoid, resolved often only through wishful interpolation.

From that PDF, notice also (very bottom) that even that type of glass, meant to be used as a display substrate, has only 90% or so of the total light passing through (hand on heart who hasn’t got white refractive glasses.).

As for usage of correct BTFs in different scenarios, work is being done on making the VRScans (the library already there, and any new addition to it from us) a *lot* more usable in conditions unlike the scanned ones (ie. different color/texture, but same BTF, and so on).
Scanning has been very long, and very expensively, in development precisely because there is no way to principle all materials (cfr. Disney PBS Paper, 2012).
So, no, i have no real suggestions, other than wait it out until the VRScans mature enough (which, hey, it’s actually right today, minus some small niggles!). :slight_smile:

Even a standard uncoated simple sheet of glass won’t reflect back 4%. That’s because the measurement is for the front surface only. The back surface will reflect back light as well leaving less for transmission, it even reflects back close to what the front surface reflects. That’s what the archglass shader is for because it gets messy quick especially with coatings and multiple panes.
http://forums.chaosgroup.com/showthread.php?88138-An-assortment-of-OSL-shaders-for-your-perusal&p=696925#post696925

Even though yes refraction shouldn’t be set to 1.0 white because glass absorbs light as well (giving it its usual greenish tint for example) 100% minus 7-12% reflection = around that 90% transmission already. :slight_smile:

are you suggesting to just use Linear Multiply Colour Mapping rather than Reinhard?
Is it true that Reinhard at 1.0 & 1.0 (Multiplier & Burn Value) is the same as Linear at the same values?

Ah, thought so. So the future is in the scans.
I’m really glad you mentioned that work is being done to make it possible to change color/texture while keeping the same btf. This is the one thing that imo is essential for them to be usable in my workflow (and I guess many others)

Great shader Rens, thanks! I wonder how I missed it :confused:

Thanks Lele!

I have read a quite a few of your comments on different threads recently and they have been massively helpful!
I am certainly going to change my approach and settings on new projects from now on.

Let me know how the “conservative” albedo approach works for you!
Also, would you believe in a misguided/rough/ignorantly put sort of way i was rambling about this stuff over ten years ago?
It’s still the single thread with the most views in tips and tricks, in fact, and some concepts, once measured with VRScans, turned out to be true (a few more than those proven wrong. i like to think. :P)…
While the video’s most definitely dead by now, i think the script works just fine to this day.

http://forums.chaosgroup.com/showthread.php?36359-VRay-Sun-Sky-and-Physical-Camera-video-tut-Bonus-Script!

You wouldn’t, by any chance, still have those videos :slight_smile:

fifty bucks.
To cover for the utter shame.
No, really, it’s good they’re gone. ^^

All i suggested in those long winded things was to QUARTER the overall Albedo of shaders (purely because then the multiplier number in output maps would be 0.255, easy to remember.).
Now, a quarter is likely way, way too much for whites, and possibly too little for some dark tones (with textures on them): I was (admittedly!) eyeballing it hard to illustrate a concept.

It was the early days of Sun, Sky and Physical camera, with exposure, and we were all feeling our way into real-world energy values, out of the old, 8-bit bound, heritage workflow.
Imagine what white 255 surfaces did to scenes, when a sun was thrown into the mix, coupled with fairly unsophisticated BRDF models, a lot less sophisticated sampling routines, and so on…

So, by pure light dimming through darker surfaces, and compensation with the camera exposure, GI would run much much quicker, contrast would be pleasantly high (for back then, remember the context! :P) at a time when most stuff looked fairly flat, out of the box, and that is the whole of the method, in a nutshell.

But i am pleased, chuffed, ecstatic at seeing white matte paint at 0.6 albedo, i tell you! :smile:

edit: little bonus, the (now missing) gargoyle render from page 2. No LWF to speak of set up, back then. you may say the thread started the spread of LWF as a concept, since then well refined in today’s defaults (between max and v-ray.).

Edit #2: the same scene, but with LWF settings and 3.5 defaults, rendering for the same-ish (23.4 secs for the original, 22.7 for the new) time as the old (hue change due to new sRGB WB in color mapping.).
The old was IRMap plus LC, the new, you know. :slight_smile:


Thanks so much Lele. Glad I found this thread and hence the 31-page giant thread about this low albedo approach.

Argh, i hope you didn’t read all of it!

haha…not word by word, but I got the gist of it after flipping through all the pages. And it all makes sense when I re-read your posts of this thread.

Too bad, will you come back to this by any chance? I think it would be incredibly useful for getting a feeling of how real world albedos are.

that would definitely be interesting.

Guys…how would that translate in vray setups? I mean I often had problems with noise popping up where it shouldn’t because I often had scenes with dark materials that I needed to be even darker. Also they had lights with mult 1.0 so my scenes had cameras with shutter speed and f number of like 2, and 4. In the end you get the same result but I guess those low light settings messed up some thresholds so vray couldn’t clear the noise even on high settings. I know that progressive render cleared certain areas of my scenes but the problematic areas just continued to have a lot of weird noise. I sent the scene to chaos but they too said they don’t know what to do really.
So my question is what multipliers for sun/sky do you use? If vray sky is in light dome texture.

VRaySun on 1 or 0.04-0.05 if cameras are without exposure.
how dark are your darkest materials? (rgb of color swatch in max or lowest rgb of textures)

Sometimes I get to 1/1/1 - 3/3/3 in rgb, then I usually just use color correction to make them even darker, since around these values I also loose any color, it’s either 0 or 255 in saturation.
With sun 1.0 do you guys use values of 10-30 for dome light with vraysky?

way too low albedos. unrealistic input will give you unrealistic results. start with good input and everything will fall in place by itself.

What is a good input?

start here (terrestial albedo section):

you can find tables for more materials online.