Skip to content

Ray-traced black hole shader for KSP

License

Notifications You must be signed in to change notification settings

jcyuan06/Singularity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 

Repository files navigation

Singularity

Singularity is a KSP mod aimed at adding black hole shaders, including gravitational lensing and accretion disk.

Other possible uses include wormholes, stars with gravitational lensing, “white holes” ( a sort of black hole with negative gravity, pushing away light).

This is not a physically correct simulation. The idea is relatively sound, and the force exerted by gravity fades by the square of the distance, but no real physical equations or constants are used.

The shader is based on Pim Schreurs’ Interstellar simulation: https://github.com/sirxemic/Interstellar

Forum thread: https://forum.kerbalspaceprogram.com/index.php?/topic/193709-wip18x-19x-singularity-black-hole-shaders/

Documentation: https://github.com/LGhassen/Singularity/wiki

About

Ray-traced black hole shader for KSP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 72.5%
  • GLSL 21.3%
  • ShaderLab 6.2%