Jump to content

Prefabed rooms don't hold texture coordinates


Dreikblack
 Share

Go to solution Solved by Josh,

Recommended Posts

1. Applied trigger mat to a box brush

2. Fixed UV with face tool (right brush)

3. Saved as prefab

4. Dragged prefab into scene - it look like below. After dragging it's changing UV again and may become as at left

After reopening map UV changes again and looks like at bottom one.

image.png.23cb106a91b3a6319ccafc1640e8b17f.png

 

Link to comment
Share on other sites

There are some questions that need to be decided.

  • How much info should a brush instance share with the original?
  • Should texture mapping be updated on a brush that came from a prefab?

The behavior we are seeing right now is a result of not having decided these questions.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

  • 1 month later...

Load this in the XFORM project. Open the prefab and pay attention to the texture coordinates. 

Then make a new map and place the prefab exactly at the origin and notice the texture offset. 

testarea.zip

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

Should brush texture coordinates be permanently locked when they are loaded from a prefab?

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

4 hours ago, Josh said:

Should brush texture coordinates be permanently locked when they are loaded from a prefab?

YES

I want to be able to make my maps out of smaller maps. I used prefabs to make the start and end flash chambers in Cyclone and I want to be able to do the same.

  • Haha 1

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

  • Solution

Update with the fix is coming. I think its fixed. If there are any other problems I will need specific instructions to produce it, because my testing all shows it working now.

  • Thanks 2

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...