[REQ] Indigo instance color variation shader

Feature requests, bug reports and related discussion
User avatar
zeitmeister
2nd Place 100
Posts: 1997
Joined: Tue Apr 22, 2008 4:11 am
Location: Limburg/Lahn, Germany
Contact:

Re: [REQ] Indigo instance color variation shader

Post by zeitmeister » Sat Sep 01, 2018 11:30 pm

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 26 times
indigo_instance_color_variation.jpg
Btw. crappy textures by me, so don't worry. :wink:
Cheers, David



DAVIDGUDELIUS // 3D.PORTFOLIO
·
Indigo 4.2.23 | Indigo for C4D 4.2.22 | C4D R14.042 | Mac OS X 10.13.6 | Windows 10 Professional x64

User avatar
pixie
Indigo 100
Posts: 2216
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
Contact:

Re: [REQ] Indigo instance color variation shader

Post by pixie » Sat Sep 01, 2018 11:50 pm

It had to do with using the same code on roughness channel and not working

User avatar
zeitmeister
2nd Place 100
Posts: 1997
Joined: Tue Apr 22, 2008 4:11 am
Location: Limburg/Lahn, Germany
Contact:

Re: [REQ] Indigo instance color variation shader

Post by zeitmeister » Sun Sep 02, 2018 1:23 am

Take a look.
Code corrected in color, fresnel, roughness, bump and normal.
Cheers, David



DAVIDGUDELIUS // 3D.PORTFOLIO
·
Indigo 4.2.23 | Indigo for C4D 4.2.22 | C4D R14.042 | Mac OS X 10.13.6 | Windows 10 Professional x64

User avatar
pixie
Indigo 100
Posts: 2216
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
Contact:

Re: [REQ] Indigo instance color variation shader

Post by pixie » Sun Sep 02, 2018 2:36 am

Yes, I checked afterwards, the thing is, it has no affect on the bump channel

User avatar
pixie
Indigo 100
Posts: 2216
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
Contact:

Re: [REQ] Indigo instance color variation shader

Post by pixie » Sun Sep 02, 2018 2:41 am

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. :)

User avatar
pixie
Indigo 100
Posts: 2216
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
Contact:

Re: [REQ] Indigo instance color variation shader

Post by pixie » Sun Sep 02, 2018 5:09 am

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
Attachments
test.pigs
(5.06 MiB) Downloaded 20 times
test.jpg

User avatar
zeitmeister
2nd Place 100
Posts: 1997
Joined: Tue Apr 22, 2008 4:11 am
Location: Limburg/Lahn, Germany
Contact:

Re: [REQ] Indigo instance color variation shader

Post by zeitmeister » Mon Sep 03, 2018 1:50 am

Yeah, maybe someone who has got skills in ISL should take a look... ^^
Cheers, David



DAVIDGUDELIUS // 3D.PORTFOLIO
·
Indigo 4.2.23 | Indigo for C4D 4.2.22 | C4D R14.042 | Mac OS X 10.13.6 | Windows 10 Professional x64

User avatar
pixie
Indigo 100
Posts: 2216
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
Contact:

Re: [REQ] Indigo instance color variation shader

Post by pixie » Mon Sep 03, 2018 3:19 am

xD Still you took it a level beyond, thank you very much! :)

User avatar
pixie
Indigo 100
Posts: 2216
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
Contact:

Re: [REQ] Indigo instance color variation shader

Post by pixie » Tue Sep 04, 2018 9:48 am

After some tweaks I think I got it working! :)
Attachments
Color_variation.igm
(4.76 KiB) Downloaded 34 times

Post Reply
54 posts

Who is online

Users browsing this forum: No registered users and 0 guests