Forum

#1 2017-02-21 18:27:00

Eniara
New member

Switch Texture/Shader

Hi every one !
I have an object that repeat a lot of time in my scene. So, in Substance designer, i create six differents shader, for no reapeat. In guerilla i want to use the TextureSwitch to apply my shaders, but when i render the object Guerilla Crash Down.

The command exe write:

Starting render: 1 jobs
02/21/2017 18:20:36  [01] SHAD ERR: comp001_compression_B1|BG_comp001_B1_compres
sion_001|BG_comp001_B1_compression_001: numeric value expected for Files, got st
ring
02/21/2017 18:20:36  [01] SHAD WRN: VM variable is not a string
02/21/2017 18:20:36  [05] SHAD WRN: VM variable is not a string
02/21/2017 18:20:36  [00] SHAD WRN: VM variable is not a string
02/21/2017 18:20:36  [04] SHAD WRN: VM variable is not a string
02/21/2017 18:20:36  [03] SHAD WRN: VM variable is not a string
02/21/2017 18:20:36  [07] SHAD WRN: VM variable is not a string
02/21/2017 18:20:36  [02] SHAD WRN: VM variable is not a string
02/21/2017 18:20:36  [06] SHAD WRN: VM variable is not a string


I don't really understand... In the plage "Files" of the texture switch, i write: Y:/Decharge/02_PROD/04_LIBRARY/MAP/02_BG/comp001_compression/B1/BG_comp001_B1_compression_001_Base_Color.png
I try with "" for write a string, but Guerilla Crash Down again.

Someone know or understand what is the problem please ?
Thanks

Offline

 

#2 2017-02-22 16:40:34

Ben
Guerilla dev, the guy to hug

Re: Switch Texture/Shader

Hi Enlara,

This is strange. Can you share a sample project with me so I can have a look at that problem?
Which version are you using, by the way?

Ben


Benjamin 'Ben' Legros
Guerilla developer
http://www.guerillarender.com

Offline

 

#3 2017-02-22 18:58:24

Eniara
New member

Re: Switch Texture/Shader

Hi Ben,

Thanks for your reply ! I use Guerilla 1.4.8. I'm at MOPA.

https://drive.google.com/drive/folders/ … sp=sharing

Thanks !

Offline

 

#4 2017-02-27 10:53:22

Eniara
New member

Re: Switch Texture/Shader

Hi Ben and everyone !

Phillipe comes and see my problem. He show me the good method to do that !
So it's ok, it's work angain !

Thanks.

Offline

 

#5 2017-02-27 19:17:56

Ben
Guerilla dev, the guy to hug

Re: Switch Texture/Shader

Ok, by the way, what was the issue? I can't access your data anymore.

Ben


Benjamin 'Ben' Legros
Guerilla developer
http://www.guerillarender.com

Offline

 

#6 2017-03-02 13:14:39

doubleailes
Guerilla dev, the guy to hug

Re: Switch Texture/Shader

She was using it directly in the shader and not in a subshader. O_o


Philippe Llerena

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB