FORGE3D
  • Welcome
  • FAQ
  • Sci-Fi Effects
    • Getting started
    • Turrets
    • Turret Controller
    • Pool Manager
    • Examples
    • Scripts
    • Changelog
  • Force Field
    • Getting started
    • Force Field Video Tutorial
    • Force Field Controller
    • Rigidbodies
    • Shaders
    • Impact Points
    • Upgrading
    • Platform Differences
    • Changelog
  • Wasp Interdictor
    • VR Setup
    • Controller Components
    • PSD Template
    • Substance Painter Sources
  • Damage FX
    • Shader
    • Controller
    • Colliders
    • Material
    • Debugging damage
    • Impact points
    • Damage FX Shader Node
  • Planets
    • Changelog
Powered by GitBook
On this page
  • Damage FX Script Component
  • Amplify Creations Shader Editor Users
  • Modifying shaders by hand
  1. Damage FX

Impact points

PreviousDebugging damageNextDamage FX Shader Node

Last updated 4 years ago

Damage FX Script Component

Modify the constant value of the Damage FX Script Component:

Assets/FORGE3D/DamageFX/Scripts/DamageFX.cs

Amplify Creations Shader Editor Users

Open the DamageFXDistMask function from the Assets/FORGE3D/DamageFX/Shaders/ and change the number of MaxPoints constant matching the number set in the script component. Recompile both Damage FX Functions and all shaders affected by this change.

Modifying shaders by hand

Open the Damage FX Shader sample and search for the existing number of points in the search field of your favorite editor: