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"

Leaf Cards disappearing when viewed from above or sides.

Hello! I am completely new to UE4 and game creation and was hoping someone could help with a couple of questions:

http://youtu.be/KXniCRUTwnI

Also getting this error: http://i.imgur.com/M5QP4iR.jpg

First, As displayed in the above video I am having some issues with the cards used on my palm trees disappearing. I have tried aligning normals in Maya to the surface and have also averaged the normals. Neither of these made any difference. I tried switching the texture used on the palm with that on the fern and the same issue persists so I believe it is an issue with the model, not the textures. I also used the same process on the ferns that I did on the palms yet the ferns seem to be okay. As a note the palm functions within Maya and does not have this strange issue other than some slight clipping which I'm accustomed to with cards.

Unrelated question; For texture imports I keep getting the error that my texture is not divisible by two (1536x1536) saved as a 32 bit TGA. Why am I getting this error?

Thanks in advanced for helping a total noobie!

Product Version: Not Selected
Tags:
more ▼

asked Aug 24 '14 at 12:00 AM in Using UE4

avatar image

Tarrtarus
23 3 4 6

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

2 answers: sort voted first

Leaf issue

The first issue is with the way backfaces are rendered in a game engine. Model faces only render the positive side of the normal. To fix this you can either duplicate the faces and flip the normal in your modelling program or you can just check the Two Sided checkbox in the material for your leaves. The material approach still only builds a single lightmap for the positive normal face so it works fine for leaves usually but not so much for more solid objects. To build proper lightmaps you need to do the first approach and fix it in Maya/Max/Blender.

Most 3D Modelling programs have an option to turn on Backface Culling to preview this.

Texture Error

The texture issue isn't they it can't be divided but that it must be a direct power of 2. This leaves you with these sizes only for textures:

2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096

Lightmap and null mesh errors

In your screenshot you have two issues.

The warnings abouta staticmesh with NULL staticmesh property means that you have an actor in the level (palmTree_10) with no mesh supplied for it to render. This is usually no real issue but just messy as it won't render anything. You can just delete it or supply a mesh by clicking on it and setting the StaticMesh property to point to a viable mesh.

The error at the top of the message log is saying palmTree_10 has its lightmap resolution property set the 0 OR the material index you specified for its lightmap UVs does not actually exist. Remember that UV channels start from 0 not 1 so if you lightmap UVs are in the first channel that is 0, the second channel would be 1 and so forth.

There is a chance that error is caused just because the palmTree_10 staticmesh property isn't set though so try removing the actor or putting a mesh in the StaticMesh property and see if it goes away.

more ▼

answered Aug 24 '14 at 12:42 AM

avatar image

RimmyD
2.6k 98 15 96

avatar image Tarrtarus Aug 24 '14 at 12:46 AM

Thank you as well!

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

Hi Tarrtarus!

You may need to activate the "Two-Sided" property in the Details panel of your leaves material as well as "Use two sided Lighting" in the detail properties of your leaf cards if you are using Lightmass.

For the texture issue, your texture resolution should be a power of a two number (i.e 128x128, 1024x1024, 4096x2048, etc), (32bit Targa is fine if you are using the alpha channel for your alpha mask).

more ▼

answered Aug 24 '14 at 12:41 AM

avatar image

wDesoto
6 1 5 6

avatar image Tarrtarus Aug 24 '14 at 12:45 AM

Thanks so much guys! Really appreciate it!

(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