UE4 Skysphere Blueprint Color Curve Assets
I'm having a very hard time understanding how these color curve assets work, specifically the ones that are used in the default Skysphere Blueprint. On the string of nodes following the condition set to whether or not the colors are controlled by the sun position (in this case I want them to be, so I have this checked) the zenith, horizon and cloud colors are controlled by the sun's pitch around the worldspace, referencing these color-curve assets (also labeled as LUT textures in the asset library, though this is NOT in reference to the color grading post process effect) but my question is this: how is the scale for these set up? For example, in the Cloud Color Curve asset, I can double click it and it'll open up a color curve editor, but the time scale is fitted at -1 on the left, 0 in the center, and 1 on the right (presumably this is in seconds, though I have no way of telling for sure) however the color curve starts off black at -1, fading into a sort of peachy color (sunrise/set?) at the 0 mark, and then fading to white at 1. However when the sun is positioned at, "midnight," below the world, the clouds are bright white, despite the sky being dark, the stars being out, indicating night time based on sun position.
The reason I'm going into this is because I'm trying to set up a proper day-night cycle system, and I have most things set up in my level blueprint using a timeline to control the sun pitch and intensity based on a 240 second loop (just for testing, the actual loop will be longer once I figure out curve color control and some other variables.)
So is the -1 to 1 timeline scale supposed to be from midnight to midnight on a loop, or is it even based on time at all? I thought maybe the color curve might be based on whatever angle the light is hitting it at, with -1 to 1 representing two sides of sky sphere object, though I have no way to tell for sure. Perhaps someone with more experience with me can take a crack at it?
I've posted on this in the forums as well, and my post has pictures to show you more of what I'm talking about. Thanks for your time!
asked Apr 29 '15 at 06:26 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here