This is a Cubemap generator script that works on Unity Free. Yes that’s right! No need for Pro when you need to generate cubemaps inside of unity. It saves time allowing you to work on your game instead of worrying about how your going to generate those darn cubemaps!
I am starting to submit this to the Asset Store so you will see it there soon!
Features
Fully automatic Cubemap Generation
Multiple Sizes (64x64, 128x128 etc.)
Works in Unity Free!!!
Auto Cubemap switching on objects (Source Engine style)
Im getting an error with cube gen, when i compile it fails and says that it couldn’t compile line 104, the line for storing the maps? “AssetDatabase.SaveAssets();”
Assets/cubeGen/CubeManager.cs(103,9): error CS0103: The name `AssetDatabase’ does not exist in the current context
Assets/cubeGen/CubeManager.cs(104,9): error CS0103: The name `AssetDatabase’ does not exist in the current context
Error building Player because scripts had compiler errors
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
Exception: Error building Player because scripts had compiler errors
UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (Boolean askForBuildLocation, BuildOptions forceOptions) (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/BuildPlayerWindow.cs:367)
UnityEditor.BuildPlayerWindow.BuildPlayerAndRun () (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/BuildPlayerWindow.cs:291)
How can i fix this?
Alternatively, how can i extract the cubemaps and use them away from CubeGen?