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"

How to make Interactive Texture?

Hi Guys , I'm working on a building walk-through project in which I want the to make a button which changes the texture of a particular area such as the wall or the floor on every click on that button. Thanks in advance :-)

Product Version: Not Selected
Tags:
more ▼

asked Aug 25 '14 at 07:45 AM in Blueprint Scripting

avatar image

AgentGhost
1 2 4 6

avatar image Visceral3D Aug 25 '14 at 08:16 AM

Okey first of all. What do you mean by changes? Do you just want the texture to fade into another texture? If thats the case then you can just lerp the different textures and controll the ammount of lerping inside your blueprint.

avatar image AgentGhost Aug 25 '14 at 09:04 AM

Thanks for the replay Visceral3D. I have attached what I have achieved so far. In the image you can see that I have used a key to change texture. What I actually want is to change the texture using a button on the game itself.alt text

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

2 answers: sort voted first

Hi AgentGhost,

I believe what will be helpful for you here is Dynamic Material Instancing. You can find more information on the subject here:

https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/MaterialInstances/index.html

more ▼

answered Aug 27 '14 at 04:11 PM

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

do you want like a interactive button in the room like a switch you can work? if so you should check out the Content Examples I think youll find what you are looking for in the reflections map.

more ▼

answered Aug 26 '14 at 05:17 PM

avatar image

DJMidKnight
1.2k 50 24 51

avatar image AgentGhost Aug 27 '14 at 05:53 AM

Thanks DJMidKnight for the answer. I will check that out.But i dont need a button in room. I have attached a image. you can see from that i have created two HUD buttons (Floor,Wall). When i click on that I want the texture to change respective of what I'm clicking. You can see from the image i have posted before that I am doing this action by pressing G. I want the same effect to come on these HUD Buttons. Thanks in advance. ![alt text][1]

button.jpg (200.2 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