Feedback #20236
Reflection Probe Missing in Flight
Description
The VAB/SPH use a static cubemap for the new shader, but there is no cubemap during flight, thus causing any part being 100% reflective to be black and any partial reflective to blend with black.
I've created a quick, albeit inaccurate fix for this on my own:
1. During GameEvents.onVesselCreate, I add a reflection probe to the vessel gameObject if one does not exist.
2. The reflection probe is set to real-time, individual-faces, and appropriate cullingMask
While my 'fix' may not be ideal, it at least allows the lighting on the parts that use the new shader to be better.
You can see example screenshots here (the Kerbal is set to be 100% reflective):
https://forum.kerbalspaceprogram.com/index.php?/topic/168795-electrocutors-thread/&do=findComment&comment=3469051
History
#1 Updated by Electrocutor over 6 years ago
- Version changed from 1.5.0 to 1.5.1
#2 Updated by nestor about 6 years ago
- Status changed from New to Confirmed
- % Done changed from 0 to 10
#3 Updated by nestor about 6 years ago
- Tracker changed from Bug to Feedback
#4 Updated by nestor about 6 years ago
- Status changed from Confirmed to Ready to Test
- Target version set to 1.6.0
#5 Updated by chris.fulton over 5 years ago
- Status changed from Ready to Test to Resolved
#6 Updated by chris.fulton over 5 years ago
- Status changed from Resolved to Closed