Improve singularity shader (#7647)

* Working example

* vector arrays

* simplify math

* max distance

* max distance

* PVS override

* rename count
This commit is contained in:
Leon Friedrich
2022-04-29 00:43:16 +12:00
committed by GitHub
parent 4aa45dc695
commit 8fb48a09ef
7 changed files with 114 additions and 156 deletions

View File

@@ -618,8 +618,8 @@
sprite: Objects/Fun/toys.rsi
state: singularitytoy
- type: SingularityDistortion
intensity: 2
falloff: 7
intensity: 2000
falloffPower: 2.6
- type: Item
size: 12
sprite: Objects/Fun/toys.rsi

View File

@@ -22,10 +22,6 @@
id: Singularity
kind: source
path: "/Textures/Shaders/singularity.swsl"
params:
positionInput: 0,0
falloff: 5
intensity: 5
- type: shader
id: Radiation