Last active
September 28, 2020 11:43
Revisions
-
simonreeves renamed this gist
Sep 28, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
simonreeves created this gist
Sep 16, 2020 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ // get first point on each prim i@point_zero = primpoints(0, @primnum)[0]; // get that point's emit frame i@emit_frame = point(0, '__frame', @point_zero)*.01; // subtract emit frame from current frame to create age i@age = @Frame - @emit_frame; // at a certain frame lower the strength if (@age == chi('frame')) { f@strength = @strength_orig * chf('low_strength'); }