Amplifying your potential.

Skyshop shader error

Massive Virtual Texturing for Unity Pro
3 posts • Page 1 of 1

Skyshop shader error

Postby captainpoc » Tue Feb 17, 2015 3:00 pm

I have the latest versions, my graphics card is a 780M which apparently supports DX11.

When I apply the Amplify Texture/Marmoset/DiffuseIBL I get pink.

I noticed that on this shader has an error "expression left ."worldP" is not a struct or array" can't find any reference to this error online.

It also says "shader has errors or is not supported by your graphics card"

the error is on line 51

#if !defined(MARMO_COMPUTE_WORLD_POS)
o.worldP.xyz = mul(_Object2World, v.vertex).xyz;
//else worldP is computed in the fragment shader

My colleague did a "really nasty hack" and made it work, but warned me it may cause other errors:

#define MARMO_COMPUTE_WORLD_POS
#if !defined(MARMO_COMPUTE_WORLD_POS)
o.worldP.xyz = mul(_Object2World, v.vertex).xyz;
//else worldP is computed in the fragment shader


Any ideas?
captainpoc
 
Posts: 1
Joined: Tue Feb 17, 2015 2:35 pm

Re: Skyshop shader error

Postby Ricardo Teixeira » Tue Feb 17, 2015 5:25 pm

Hello,

Excluding graphic card related issues, from the description it does sound like a possible version mismatch. What Unity version do you currently use?

We are about to release a new AT2 update that will ensure compatibility with the latest Unity version available and third-party shader packages.

We will be in touch soon, thank you for reporting the problem.

Ricardo Teixeira
Sales & Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Ricardo Teixeira
 
Posts: 615
Joined: Fri Aug 09, 2013 2:26 pm

Re: Skyshop shader error

Postby Ricardo Teixeira » Thu Mar 12, 2015 4:04 pm

Hello,

We just launched a new AT2 Update, we strongly recommend using the new version.

Among other features it includes full Unity 5 support; be sure to check the full release notes in the Download Page.

Thanks!
Sales & Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Ricardo Teixeira
 
Posts: 615
Joined: Fri Aug 09, 2013 2:26 pm


3 posts • Page 1 of 1

Return to Amplify Texture

Who is online

Users browsing this forum: No registered users and 1 guest