Re: Advanced GI with UFE
Thanks, that's all working for me, more testing to do, but looks really good so far.
Universal Fighting Engine Forum Universal Fighting Engine (UFE), a fighting game toolkit for Unity 3D |
You are not logged in. Please login or register.
Universal Fighting Engine Forum → UFE 1 (Deprecated) → Advanced GI with UFE
Thanks, that's all working for me, more testing to do, but looks really good so far.
Thanks, that's all working for me, more testing to do, but looks really good so far.
Cool. glad I could help. Lemme know if you have any other questions
And I'm guessing, I just have to make sure it works in the standalone.
I'm afraid after testing and setup with new scenes, this doesn't seem to be fully working for me. Skyboxes swap out as expected, but there's something not right about the lighting, here are two images showing the issue, the first one is the lighting as I want it, the second is how it turns out in-game.
As you can see,there's something missing there, the second isn't as well lit. Im not sure the lighting from the loaded stage is overriding the default stage.
We're entering the realm of hard to say what the issue is without looking at your stuff.
Where is the white light coming from in the in-game shot?
What environment light source are you using (skybox/color/gradient)?
If you're using color, is it also overriding the base stage setting?
This does work, just need to figure out what's not set right
There's no lights in the default scene. I only have them in the stage-scenes themselves. I do have a skybox in the default, but that is successfully replaced on loading the new stage.
Ok, after a few days of back and forth with this, we've found the solution to the problem.
In UFE.cs find this function
private static void _StartGame(float fadeTime){
and find this line at the end of that function
UFE.PauseGame(false);
Right after that line, add this line
UnityEngine.SceneManagement.SceneManager.SetActiveScene(UnityEngine.SceneManagement.SceneManager.GetSceneByName(stageScene));
I can confirm this works, and by adding a few lines in, similar to the skybox code, you can also swap your PostProcessing Profiles for each level
I can confirm this works, and by adding a few lines in, similar to the skybox code, you can also swap your PostProcessing Profiles for each level
This is great. Just need to figure this out. And clean up my Unity scenes as well
Universal Fighting Engine Forum → UFE 1 (Deprecated) → Advanced GI with UFE
Powered by PunBB, supported by Informer Technologies, Inc.