Page 4 of 4

Re: [REQ] Indigo instance color variation shader

Posted: Sat Sep 01, 2018 11:30 pm
by zeitmeister
pixie wrote:
Mon Aug 27, 2018 10:12 pm
Is there a way to get variance in albedo channel as well as in the bump and roughness?
Have a look; no clue if it works correctly for bump, fresnel scale and roughness.
No code error messages at least. :mrgreen:
Just play around; consists of 3 textures.

If you want to test it with only one texture; just change the value in all shader channels from "NUM_TEXTURES = 3" to "NUM_TEXTURES = 1"... and so on and so forth.
Code for provided channels should work in similar channels for different shaders; depends on what vec or real is being used by it.

Maybe someday we could add shared parameters for the grid noise options... to get more control.

color_variation.pigm
(204.31 KiB) Downloaded 224 times
indigo_instance_color_variation.jpg
Btw. crappy textures by me, so don't worry. :wink:

Re: [REQ] Indigo instance color variation shader

Posted: Sat Sep 01, 2018 11:50 pm
by pixie
It had to do with using the same code on roughness channel and not working

Re: [REQ] Indigo instance color variation shader

Posted: Sun Sep 02, 2018 1:23 am
by zeitmeister
Take a look.
Code corrected in color, fresnel, roughness, bump and normal.

Re: [REQ] Indigo instance color variation shader

Posted: Sun Sep 02, 2018 2:36 am
by pixie
Yes, I checked afterwards, the thing is, it has no affect on the bump channel

Re: [REQ] Indigo instance color variation shader

Posted: Sun Sep 02, 2018 2:41 am
by pixie
From what I gathered it only apply an overall change of gamma, making it all bumpier, rougher, fresnel... but not take into accommodation the actual image, still thank you for the material. :)

Re: [REQ] Indigo instance color variation shader

Posted: Sun Sep 02, 2018 5:09 am
by pixie
Here's my test, it has a lot of pictures for randomizing either bump and roughness, but the randomize seems to only happening regarding the amount of roughness

Re: [REQ] Indigo instance color variation shader

Posted: Mon Sep 03, 2018 1:50 am
by zeitmeister
Yeah, maybe someone who has got skills in ISL should take a look... ^^

Re: [REQ] Indigo instance color variation shader

Posted: Mon Sep 03, 2018 3:19 am
by pixie
xD Still you took it a level beyond, thank you very much! :)

Re: [REQ] Indigo instance color variation shader

Posted: Tue Sep 04, 2018 9:48 am
by pixie
After some tweaks I think I got it working! :)