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"

Lighting Inconsistent between BSP and Static Mesh

I have created a series of meshes from BSP in order to improve performance and improve workflow. The problem is that the lighting is looks completely different for the Static meshes then it did for BSP . There are no error messages when I re build the lighting so I am not sure why it looks so different ( previously there was a problem where the UVs did not line up properly which has been fixed)

I made a example level with a point light and you can see the difference . In the first image the shadows for the point light are turned off and the lighting is consistent.

alt text

In the second image , cast shadows is turned on for the point light and the static mesh is completely black.

alt text

If I change the UV settings in the static mesh using the settings show below the lighting will be consistent , but the textures will not line up . If I use a different UV Channel it does not appear to have an effect.

alt text

How it looks with the new static mesh settings.

alt text

Are there settings I could use to get the lighting consistent?

Is there something I may have missed when exporting the meshes?

Or is there a way to change the scale and position of a material on a static mesh , similar to how you can with BSP?

Any information is useful here .

Thanks

Product Version: Not Selected
Tags:
uvsettings.png (19.4 kB)
newuvs.png (968.5 kB)
more ▼

asked Mar 11 '14 at 01:55 AM in Bug Reports

avatar image

ue4-archive ♦♦ STAFF
49.9k 3660 1983 9111

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 01:55 AM

Edit

If the meshes mobility settings for the are set to movable , then it looks better than before , but still not the same as a BSP surface.

alt text

3.png (791.8 kB)
(comments are locked)
10|2000 characters needed characters left

3 answers: sort voted first

Hi,

Thank you for your report. I was able to reproduce this issue in our main branch as well as Beta 6 very easily with the information you have provided. I have entered a report and assigned it to our developers, including your note about mobility.

is there a way to change the scale and position of a material on a static mesh , similar to how you can with BSP?

Until this can be resolved, you may want to go into the Material and use TextureCoordinates to reshape the UV of your texture sample node to better fit on the mesh.

Thank you,

Alexnader

more ▼

answered Mar 11 '14 at 01:55 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3660 1983 9111

(comments are locked)
10|2000 characters needed characters left

This looks like a pretty straightforward case of lightmapping coordinates being bad. The reason ti's black in the top image is because of the unbuilt or badly built lighting. Rocket will display unbuilt static meshes with dynamic lighting in the editor, but will render them black in the game as you've seen.

The reason your texture tiling gets messed up after applying new lightmapping coordinates is because you're modifying channel 0, which is , by default, the channel that your diffuse texture uses, causing ti to tile, but giving you nice looking lighting once baked.

Using Rocket to create your lightmaps is really a last resort as it's almost always better to create them in your modelling package. there's a TON of info out there about creating lightmaps for UDK and those principles hold true for rocket as well: https://www.google.com/search?q=UDK+lightmapping+tutorial

Edit: I apologize for not fully understanding the question posed and assumed the meshes were imported rather than being made from a BSP. I can see how this is definitely a bug/issue. honestly, i wasn't even aware that you could create a static mesh from a BSP! That's a great thing to know.

more ▼

answered Mar 11 '14 at 01:55 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3660 1983 9111

(comments are locked)
10|2000 characters needed characters left

A Bug When Making Static Mesh From BSP

Dear Toxic Games and Alexander Paschall,

(I am writing this after reading your response, Alexander)

I've noticed that when I make static meshes from BSP,

the lighting model does not get build correctly.

There is an easy fix though!

(it is still a bug tho)

You go into the new static mesh properties

and click on this

alt text

you only click on use full precision so that the "apply changes" button lights up

you can uncheck it after that


once you click "apply changes"


the lighting model gets fully build

Bug Resolution

Have a BSP turned into a static mesh do whatever "apply changes", does at the time of its creation

:)

Rama

PS: this is what worked for me anyways, please try my solution and let me know, preferrably with a static mesh that was just created from BSP

bsptosma.jpg (195.6 kB)
more ▼

answered Mar 11 '14 at 01:55 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3660 1983 9111

(comments are locked)
10|2000 characters needed characters left
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