Amplifying your potential.

Unity LWRP

Your feedback is very important to us. We are listening.
2 posts • Page 1 of 1

Unity LWRP

Postby Takamba » Tue Dec 04, 2018 2:27 pm

Hi

First of all, I am quite new to the shader universe….

I have a custom water shader made with the Amplify Shader Editor.
In blend mode, render type and render queue set to transparent.

Now, I would like to use this shader in a project with Lightweight Render Pipeline.

How do I need to setup my custom water shader to be compatible with LWRP?
Do I need to change anything else?

Any help is much appreciated as I am just beginning to earn about shaders.

Regards,
Phil
Takamba
 
Posts: 3
Joined: Tue Dec 04, 2018 10:23 am

Re: Unity LWRP

Postby Amplify_Borba » Fri Dec 07, 2018 4:46 pm

Hello!

First of all, I'd recommend that you back up your original shader!

After doing so, depending on which version of the LW RP you're using, you'll have to extract the proper template from within the Assets > AmplifyShaderEditor > Plugins > EditorResources > Templates > SRP folder:

- LWSRPTemplates (Legacy).unitypackage for LW RP 3.0.0 and below
- LWSRPTemplates.unitypackage for LW RP 4.0.0 and above

The recommended steps to be taken for setting this up on a new project would be:

- Import ASE
- Import the LWRP through Unity's Package Manager
- Creat and add the LightweightAsset to the Project Settings
- Extract the LWSRPTemplates package corresponding to the imported LW RP version

You can find more information in our wiki manual.

After that, you'll need to switch your Shader Type to Lightweight PBR, so that it uses our shader template that supports the LW RP:

Image

And finally connect the nodes to the respective ports, while also setting the Output Node's parameters according to the original shader.

Please let me know if this helps, thanks!
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
Amplify_Borba
 
Posts: 900
Joined: Mon Jul 24, 2017 9:50 am


2 posts • Page 1 of 1

Return to General Discussion

Who is online

Users browsing this forum: wintomee and 2 guests