This Renderman shader applies color stars with random rotation, spinning and movement to an object. The object is rendered transparent except where the stars appear.
Parameter |
Data Type |
Usage |
Example |
---|---|---|---|
s_cells |
Positive integer |
tile count in s direction |
s_cells = 10 |
t_cells |
Positive integer |
tile count in t direction |
t_cells = 10 |
offset |
float 0.0 to 1.0 |
offset in t direction for travel |
offset = 0.5 |
spin |
float 0.0 to PI * 2 |
rotation value of the star, after psuedorandom rotation |
spin = 6.28318 |
r_min |
float |
radius of the star's inner point |
r_min = 0.3 |
r_max |
float |
radius of the star's outer point |
r_max = 0.7 |
star_points |
Positive integer |
The number of points in the star |
star_points = 5 |
fuzz |
float 0.0 to 1.0 |
color blending width |
fuzz = 0.02 |
View the spin_stars shader source
Download the spin_stars package for Presenter 3D
|
|
|
|
|
|
|