27
2021
Boat Attack URP Water: Add Underwater surface flip
Just modify 2 lines from the scripts and you get visible waterplane when going below surface. The idea is to check camera Y position, if below 0, flip normal and flip matrix for mesh.
Boat Attack Project:
https://github.com/Unity-Technologies/BoatAttack
Inside Water.cs & PlanarReflections.cs replace these 2 lines:

Related Posts
4 Comments + Add Comment
Leave a comment
Recent posts
- Favorites in PackageManager
- LudumDare59 : Signal
- Unity Editor: Tree Generator
- Leaf/Foliage Generator Tools (Runs in Browser)
- Testing Unity AI Beta
- Ways to Support UnityCoder Development
- Using UI Slider to Create 5-Star Rating Element
- Game Music Library For Unity (editor plugin)
- Fontastic : Easily Test Fonts in Unity Editor!
- GeoTiff Importer & Terrain Generator for Unity
- Create Baked DropShadow for UI images
- .JP2 Ortho Image Converter to PNG/JPG/TIFF
Recent Comments
- on Mesh Exploder (sources)
- on Sprite Sheet Flip Book Shader
- on Sprite Sheet Flip Book Shader
- on [Asset Store] PolygonCollider2D Optimizer
- on Trajectory Test Scene 2.0
- on Vector3 maths for dummies!
- on UnityHub 3.6.0: Remove Version Control & Cloud Dashboard columns
- on Using RenderDoc with Unity (graphics debugger)
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by












[…] BoatAttackURPWater:AddUnderwatersurfaceflip – Just modify 2 lines from the scripts and you get visible waterplane when going below surface.unitycoder.com Open Source […]
[…] BoatAttackURPWater:AddUnderwatersurfaceflip – Just modify 2 traces from the scripts and also you get seen waterplane when going beneath floor.unitycoder.com Open Source […]
[…] Source link title_words_as_hashtags […]
mirror shader that works with VR in URP Unity
https://github.com/Avdbergnmf/UnityURPMirrorShader