> For the complete documentation index, see [llms.txt](https://docs.forge3d.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.forge3d.com/damage-fx/impact-points.md).

# Impact points

### **Damage FX Script Component**

Modify the constant value of the Damage FX Script Component:

*Assets/FORGE3D/DamageFX/Scripts/DamageFX.cs*

![](https://3975174601-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAkhY-TGk1rq9Rxq3Nq%2F-MAubbRJcSJFtMYsIstt%2F-MAubmVf2oEX6IvYLwhX%2Fimage.png?alt=media\&token=bbc59435-d8fb-4c1d-9666-d88697f42e5f)

### **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.

![](https://3975174601-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAkhY-TGk1rq9Rxq3Nq%2F-MAubbRJcSJFtMYsIstt%2F-MAubnvde_67o0IR3214%2Fimage.png?alt=media\&token=de127b5d-4462-430a-98b6-9b44cdebecc1)

### **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:

![](https://3975174601-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAkhY-TGk1rq9Rxq3Nq%2F-MAubbRJcSJFtMYsIstt%2F-MAubsXuDUIyAQzmGg8m%2Fimage.png?alt=media\&token=a1b57532-0a98-47e3-9574-565011d8f363)

![](https://3975174601-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAkhY-TGk1rq9Rxq3Nq%2F-MAubbRJcSJFtMYsIstt%2F-MAubuDVvLp9IXgnWww3%2Fimage.png?alt=media\&token=f0d921bb-c32e-416e-9b3c-294cefddb76b)

![](https://3975174601-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAkhY-TGk1rq9Rxq3Nq%2F-MAubbRJcSJFtMYsIstt%2F-MAubpCSybc5jXl2uaQc%2Fimage.png?alt=media\&token=72021239-5c0a-47f9-9a8a-2105e74137bd)
