Lightning

Created Lightning Gun effect (Uses LineRenderer, very slow)
Created GPU Lightning renderer (very fast, still needs integration)
This commit is contained in:
Reinier Vens 2021-02-04 04:37:47 +00:00
commit bb297bf84c
100 changed files with 7105 additions and 13 deletions

View file

@ -78,6 +78,7 @@ public class Reactor : IBehavior, IOrderedBehavior
int chargedCapacitors = 0;
do
{
chargedCapacitors = 0;
var chargeToRemove = -Entity.Energy;
foreach (var cap in _capacitors)
{