Vertex shader integration[CLOSED]

Massive Virtual Texturing for Unity Pro

Vertex shader integration[CLOSED]

Postby RyuMaster » Mon May 11, 2015 9:28 am

Hi! I want to try and integrate Amplify with CORE framework, but it uses vertex shaders. Is there any example of vertex shader integration? I could find only surface ones.
RyuMaster
 
Posts: 6
Joined: Wed May 07, 2014 10:17 am

Re: Vertex shader integration

Postby RyuMaster » Fri May 15, 2015 8:24 pm

Don't mind my question. I've tried conversion, and its very easy - following surface shader example, same applies to geometry and vertex shader, no difference.

But there is a problem. While material works fine, its not detected my Amplify anymore once I save the scene or re-scan.
RyuMaster
 
Posts: 6
Joined: Wed May 07, 2014 10:17 am

Re: Vertex shader integration

Postby Ricardo Teixeira » Fri May 15, 2015 9:13 pm

Hello,

Our apologies for the delayed reply, we are a bit overloaded at the moment. Would it be possible to send us the shader via email to [email protected]? We would be happy to help with the conversion.

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: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Vertex shader integration

Postby RyuMaster » Fri May 15, 2015 9:25 pm

No problem, I've done conversion myself already (I though its different for vertex/geom shaders, but it is not).
But material with this shader is not detected by Amplify for some reason after scene re-save. I'll sent you email to test it.
RyuMaster
 
Posts: 6
Joined: Wed May 07, 2014 10:17 am

Re: Vertex shader integration

Postby Ricardo Teixeira » Fri May 15, 2015 9:43 pm

RyuMaster wrote:No problem, I've done conversion myself already (I though its different for vertex/geom shaders, but it is not).
But material with this shader is not detected by Amplify for some reason after scene re-save. I'll sent you email to test it.


No problem, thanks for the files. The AT2 developer will have a look and get back to you as soon as possible.

Talk to you soon.
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: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Vertex shader integration

Postby Ricardo Teixeira » Mon May 18, 2015 2:10 pm

Hello,

We checked the shaders and it seems that you are almost there, just missing a tag and a keyword in the virtual texture preset.


Simply change:
Tags { "Queue" = "Geometry" "IgnoreProjector"="False" "RenderType"="echoUnlit" }
To:
Tags { "Queue" = "Geometry" "IgnoreProjector"="False" "RenderType"="Opaque" "Amplify"="True" }

Since the shader you are using uses _NormalMap instead of _BumpMap, you will have to manually add it to the virtual texture.

Image

Let us know if you run into any additional issues, we would be happy to help.

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: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Vertex shader integration

Postby Ricardo Teixeira » Thu Jul 02, 2015 10:36 pm

Hello,

Feel free to get in touch via [email protected] with additional questions, we would love to hear from you.

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: 954
Joined: Fri Aug 09, 2013 2:26 pm


Return to Amplify Texture

Who is online

Users browsing this forum: No registered users and 7 guests