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?
Thanks!
Refraction in LWRP
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Refraction in LWRP
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.
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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!