x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Change skybox textures realtime?

I'm working on a catoon style game where I need a day/night cycle..

But I'm using a custom skybox with HDR sky textures that I have made.. Like morning sky, day sky and night sky

Is it possible to get my skybox to transition between the skyboxes depending on time of day?

The problem is I want it to transition between them depending on the time of day..

Anyone know how I can achieve this??

Product Version: UE 4.14
Tags:
more ▼

asked Jan 31 '17 at 10:16 AM in Blueprint Scripting

avatar image

Xenosis
32 16 22 28

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Take a look at the engine content sky sphere material.

The exact name is: M_Sky_Panning_Clouds(2) (Not sure if I accidentally duplicated it once or not... so it might be without the two. Yay for "testing" projects that are supposed to be temporary but aren't in the end!).

It's setup in a way that allows a dynamic transition between night and day based on a float spanning between -1 and 1 which is mapping to color values on curves that in the end drive the time of day.

more ▼

answered Jan 31 '17 at 12:05 PM

avatar image

Erasio
5.9k 291 86 293

avatar image Xenosis Feb 02 '17 at 04:01 PM

Using the engine skybox and my own color curves I got it working with day and night cycle.

Thank you..

avatar image jimd667 Apr 04 '17 at 11:04 PM

Xenosis,

Can you post a screen cap of your BP? I'm trying to do this too and it might help others who are stuck.

avatar image Erasio Apr 05 '17 at 10:29 AM

There is no additional BP code needed for this.

The BP in question exists as part of the engine content.

Color curves are an asset type that you can create and replace the default engine curves with your own to create your own style with the preexisting skybox.

avatar image Xenosis Apr 05 '17 at 10:36 AM

Did not make any blueprint changes..

I copied the engine default skybox BP and color curves into my project..

Then open the skybox bp and replace the curves with the ones I copied..

I can now modify sky colors by changing the colors inside the color curves..

alt text

alt text

engine_sky.jpg (335.6 kB)
skybox_bp.jpg (290.8 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question