Isotropix Forums

shading variable with TextureMapFile

General Discussion about Isotropix and CG related topics

shading variable with TextureMapFile

Unread postby fudoh » Sat Apr 18, 2020 12:01 am

Hi!
Is it possible to assign an already imported TextureMapFile as source in a shading variable?

Something like:
diff = "project://scene/Nor/TEX_Nor/NorTest_Skin_Diffuse"

Direkt link to the harddisk works as expected:
diff = "F:/TEX_Nor/NorTest_Skin_Diffuse"


Greetings,
René
fudoh
 
Posts: 17
Joined: Sat Nov 28, 2015 4:42 pm

Re: shading variable with TextureMapFile

Unread postby dboude » Mon Apr 20, 2020 9:28 am

Hi,

No it's not possible.

Cheers
Démian
Isotropix
Technical Artist - Clarisse Specialist
User avatar
dboude
 
Posts: 1603
Joined: Mon Jul 03, 2017 10:51 am

Re: shading variable with TextureMapFile

Unread postby sam » Mon Apr 20, 2020 9:36 am

you can mimic this using a texture switch driven by a shading variable. This is how this should be done (or with a blend...). Shading Variables adds a new dimension to values, doing what you propose would add a new dimension since the shading graph would have multiple representations too...
Sam Assadian
Isotropix
CEO/Founder
User avatar
sam
 
Posts: 1611
Joined: Fri Jan 25, 2013 11:33 pm

Re: shading variable with TextureMapFile

Unread postby tom_tm » Wed Apr 22, 2020 12:13 pm

Hi Sam,
may you provide a sample how we can mimic this by a switch?
I don't get how it should be done :-(

Thanks Tom
tom_tm
 
Posts: 291
Joined: Mon Nov 18, 2013 8:20 pm
Location: Switzerland

Re: shading variable with TextureMapFile

Unread postby dboude » Wed Apr 22, 2020 12:52 pm

Hi,

Here is an example. The shading variable values are defined in the material linker but it's the same setup if you set them in a shading layer.

Switch_Shading_Variable.project
(43.1 KiB) Downloaded 110 times


Cheers
Démian
Isotropix
Technical Artist - Clarisse Specialist
User avatar
dboude
 
Posts: 1603
Joined: Mon Jul 03, 2017 10:51 am


Return to General Discussion
cron