Did somebody say stars?! No really, did they? Maybe I am just hearing things?!
So let’s talk about that… and how you can use HODOR to create them For now, I’m just going to explain the script/inputs - some of the ‘tools’ we created for this process are really just tricks in Photoshop; stuff that makes it a bit easier.
The ‘cosmic’ action in HODOR can either take a background and generate images that describe where the stars are, or turn those same images back into a background.
Which operation HODOR performs depends on whether or not you tell it the source (images->background) or destination (background->images) paths. And you can indeed give it both to ‘check your work’ if need be.
What do you need to do this?
A STARS.DEF file (comes with HODOR - but you CAN edit it for your Mod)
A Background (_light) HOD (the visual sky sphere, with proper UVs, a single mapped image)
A Star HOD (I think the code requires a valid one to start, and another (or the same) if you want to generate…)
Here’s an example script…
= -$$COSMIC_OPTS=Mat=background Width=4096 Height=2048
This script will take TestBack_light.hod’s sky mesh (anything with the background shader), and using those UVs it will dump the stars in TestBack.hod to images TestBack_DEST_Stars_RGB/Tex - Those have values for which stars, where, how much alpha, the size and distance, etc.
If you were to enable the COSMIC_SRCRGB/TEX properties it would pull those images in and use them to generate TestBack_Out.hod.
I’ll go into more detail later - but part of me thinks that collectively the Mod community is sharp and resourceful enough to not need any additional info. I’ll see how you all do