Spellcaster Studios

Make it happen…

Moss

I’m trying to add a glowy alien moss to the asteroids, based on the decal code, but using a kind of spherical projection instead of the planar one…

The first run, I tried using a cube map…

screen572

If I’d thought about this for a bit, instead of going straight for implementation, I’d reached the conclusion that a cube map is a very stupid idea… Smile

The thing I forgot was that, contrary to the normal rendering, in which you’re mapping a surface, we’re mapping a volume here… That’s why it looks the texturing looks “radial”, because all the point in the same direction will have the same texture, and not have the volume I’d expect…

I could go for a 3d texture, but maybe it’s better if I just go for one texture, mapped with the 3 planes (XY, XZ, YZ), and combine them with the normal… That should give me much better results!

Now listening to “The Lord of the Rings OST” by “Howard Shore”

Link of the Day: This is a very neat timelapse:

Comment