#declare R = seed (2754);
#declare S = seed (4645);
#declare T = seed (65465);
#declare U = seed (17175);
#declare V = seed (8694);
#declare W = seed (1489);
#declare X = seed (9806);
#declare Y = seed (987015); #declare nebula = material{
texture{pigment{color rgbt 1}}
interior {
media { //Nebula
#if (fast) //"fast" is more like "somewhat less slow"
intervals 10 samples 5,5
#else
intervals 100 samples 10,50
#end
scattering {1, .1}
density {bozo density_map { //Powers <1 emphasize color, >1 de-emphasize
[0 rgb 0.01*<pow(rand(R),.5),pow(rand(S),.5),pow(rand(T),1)>]
[.25 rgb .03*<pow(rand(U),1),pow(rand(V),2),pow(rand(W),1)>]
[.5 rgb .02*<pow(rand(U),.5),pow(rand(V),2),pow(rand(W),2)>]
[.51 rgb .04*<pow(rand(U),1),pow(rand(V),.5),pow(rand(W),2)>]
[.53 rgb .02*<pow(rand(R),1),pow(rand(S),1),pow(rand(T),.5)>]
[.54 rgb .04*<pow(rand(T),1),pow(rand(U),.5),pow(rand(V),2)>]
[.57 rgb .01*<pow(rand(S),1),pow(rand(R),.5),pow(rand(U),2)>]
[.75 rgb 0]
[.8 rgb 0.01*<pow(rand(R),.5),pow(rand(S),1),pow(rand(T),.5)>]
[.9 rgb 0.01*<pow(rand(R),1),pow(rand(S),.5),pow(rand(T),2)>]
}scale 20
}
}
}
}