ViewportFrame Help

How can I make a viewport frame display a model and then change the model when the user presses a ui button?

image

1 Like

Isn’t kind of obvious?

  1. Make a function that fires if a button is pressed.
  2. The function will get the current model out of the viewport frame, and put a new model in it
  3. You’re done
1 Like

I’ve been messing around with it and I think I have figured it out. Is there a way to make it match the lighting settings in my game?

2 Likes

Well depends, if you’re game has no lighting effects at all, then i think you could make it similar, however you cannot apply lighting effects such colorcorrection, bloom etc to the viewportframe

1 Like

Is there a way to set the brightness?

1 Like

Hey sorry for late reply, i just took a quick look at the documentation, no you cant, every property you see in the viewportframe is what you are able to use.

If you really want to match the viewportframe to the ingame lighting, you could somehow move the model ingame instead of in the viewportframe, i dont even know if this is possible, its just an idea

2 Likes

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