---
title: "VRayParticleColor Operator"
canonical: "https://documentation.chaos.com/space/VMAX/113575810/VRayParticleColor%20Operator"
format: markdown
---
This page documents the VRayParticleColor operator, a Particle Flow operator in 3ds Max.

## **Overview**

---

## **Parameters**

---

## **Scripting Color Values**

---

When using MAXScript to set color values for VRayParticleColor, the values are set as floating point values. The values are not limited to the 0-255 range.

 

![image](media://bfa2c9c4-4284-420f-990c-967c721f2480)

 

 

## **Using VRayParticleColor with Metaballs**

---

To use the VRayParticleColor operator to shade a Metaballs surface, follow these steps.

1. Create a Metaballs surface and associate it with a PF Source, as described on the [Metaballs](https://docs-chaos.atlassian.net/wiki/spaces/VMAX/pages/113575433) page.
2. Add the **VRayParticleColor** operator to the Particle flow event(s) associated with the Metaballs surface and adjust the color, either with the **group** color parameter or with scripting.
3. Create a [VRayMtl](https://docs-chaos.atlassian.net/wiki/spaces/VMAX/pages/113586760), and place a [VRayParticleTex ](https://docs-chaos.atlassian.net/wiki/spaces/VMAX/pages/113575840)in the VRayMtl channel which you want shaded with the operator's color (such as the Diffuse color). Assign this material to the Metaballs surface.
4. Set the Metaballs **color sourc**e parameter to **VRayParticleColor**.