Creating two moons. How do I make each texture follow its own direction light?

Creating two moons. How do I make each texture follow its own direction light?

The point is that no matter how much I try to make adjustments, I keep missing something. I keep having both textures follow the brighter direction light. Completely ignoring my desperate customizations to explain which textures to touch.

Please help me find a solution. I’m very new to unreal, but I like interesting solutions. And also, I can’t just give up. Maybe I’m wrong, but I think I’m just missing something important.

Thank you!
Screenshot 2024-08-22 194632




If additional screenshots are needed I will provide them. Just so I know which ones.
I apologize for the confusion.

Create an MPC.
Add the light vectors to it.

Replace the material Light Vector inputs with those off the MPC.

Manage the MPC howrver you see fit.

Make sure you are working on either a local copy or a child instance of skysphere, or any time you reset the wngine you loose all your work.

1 Like

Thank you for the idea. It’s a great idea. I didn’t even know that it was possible to create NPCs. After reading the description, I was convinced that this is what I needed.

I did everything the way I understood it. However, I now just have both textures missing. I know why. I think I do. My problem is here.
My values are minus here. But the texture displays these values as positive.

That is, if I make these values positive, I can see both moon textures, but my direction light is gone. And if I leave the values negative, I don’t see the textures.

In general, can I somehow make the values for the textures negative and how can I do it?

Help me again please.

Try a simple x -1, see if that works…

1 Like

I tried it, unfortunately it didn’t make a difference. Or if it did, I didn’t understand what it was.

I attach a screenshot. Maybe I did something wrong with the set vector parameter value (parameter value)? I don’t understand. I’m so close to finally getting it done.

The point is that I can only change these minus values to the same values without minus (like 180 and 360). In that case the textures are visible and they are controllable. But I can’t see the direction light.

I hope this will help you to understand my problem better.

AFTER.
I did like this.


And now I can see light and texture at the same time. Thanks for the ideas.
BUT. They move in different directions. If the texture moves to the left, the light moves to the right… What did I do wrong? Please. It looks like I need to rotate the light (x direction by 180 degrees). But I’m not sure. And worst of all, I don’t know how I can do it…

It’s finally succeeded. Just used myltiply in the wrong place.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.