Mantra VEX based shader to Redshift

   2318   0   2
User Avatar
Member
3 posts
Joined: Dec. 2018
Offline
Hi,

I'm unsuccessfully trying to convert a project from mantra to redshift.

The project is based on a tutorial from Nine Between.

The original project uses the following vex code to generate the particles shader:

@emitint = @brightness * chf("mult");
float fader = fit01(@Time, 0, 1);
@emitint *= fader;

@opac = 0.025;
@opac *= fader;

@emitint *= abs(@age - 1);

v@emitcolor = chramp("color_ramp", @age);

This code is automatically recognized for the mantra principled shader. So It works right off the bat.

Is there any way to make this vex code to have the same behavior with a Redshift Material?

Cheers,
  • Quick Links