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
- Editor Tool: Scene Size Analyzer
- LudumDare 60: Old Tech
- uBasic Scripting Language for Unity
- GreaseMonkey+Editor Plugin: 1-Click Copy script from ChatGPT (Web) to Unity Editor (as script)
- Editor Tool: Property Watcher
- .unityignore : Hide files from Project window
- PostBuild Script to Create Single exe Standalone File
- Game Loop Designer
- Favorites in PackageManager
- LudumDare59 : Signal
- Unity Editor: Tree Generator
- Leaf/Foliage Generator Tools (Runs in Browser)
Recent Comments
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