Browsing articles tagged with " reflections"
Aug
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:

Jan
24
2012

Ray Tracing & Photon Mapping (Unity3D C#)

Converting some ray tracing code from java/processing (original source by Grant Schindler/2007) 1st version works fine already, just missing the user interactions.. (and its quite slow at the moment) Current progress: v1.0 – 512×512 render:  time 23.65258s (got it down to 16.54801s, if disable preview […]

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.