Improve singularity shader (#7647)
* Working example * vector arrays * simplify math * max distance * max distance * PVS override * rename count
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user