Project

General

Profile

Feedback #20236

Reflection Probe Missing in Flight

Added by Electrocutor 7 months ago. Updated 4 months ago.

Status:
Ready to Test
Priority:
Low
Assignee:
-
Category:
Camera and Graphics
Target version:
Version:
Platform:
Windows
Expansion:
Core Game
Language:
English (US)
Votes:
Arrow u r green
Arrow d r red

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 7 months ago

  • Version changed from 1.5.0 to 1.5.1

#2 Updated by nestor 5 months ago

  • Status changed from New to Confirmed
  • % Done changed from 0 to 10

#3 Updated by nestor 5 months ago

  • Tracker changed from Bug to Feedback

#4 Updated by nestor 4 months ago

  • Status changed from Confirmed to Ready to Test
  • Target version set to 1.6.0

Also available in: Atom PDF