Amplifying your potential.

Refraction in LWRP

Node-based Shader Editor
2 posts • Page 1 of 1

Refraction in LWRP

Postby TheoKain » Fri Nov 09, 2018 4:39 pm

Hi, is it possible to create refraction effect for a semi-transparent shader in LWRP? For example, looking through a glass of water light would refract in the water distorting the pixels behind it. Is there any way to fake this in LWRP and Amplify?

Posts: 4
Joined: Sat Nov 03, 2018 2:05 am

Re: Refraction in LWRP

Postby Amplify_Borba » Mon Nov 12, 2018 5:23 pm

Hello, you should be able to create a refraction effect on v1.5.8r01+, but you'll have to set it up manually since we don't offer the port in the master node as in the Standard Surface shaders.

You can use our Grab Screen Color node to access the new _CameraOpaqueTexture, which must be requested on the pipeline asset by toggling ON the Opaque Texture option over its General foldout.

Do note that this is only supported on SRP 4.0.0+, however, we're releasing an update tomorrow that adds support for SRP 2.0.0+.

Please let me know if this helps or if you come across any issues.
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
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

2 posts • Page 1 of 1

Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 3 guests