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"

Why is my grass shading so weird?

This is my material setup. I wanted to make simple shadeless(single color) grass that accepts shadows. Something like this I guess https://farm6.staticflickr.com/5569/14949490846_72bd065249_b.jpg alt text

This is how the grass looks from one angle which is somewhat close to what I'm aiming for. alt text

This is what it looks like from another angle. This is not what I want. alt text

Here are the normals(the ones in green) of the grass patch alt text

I was always told that on grass the normals should face up but when I did that this is what I got from every angle alt text

Can someone explain to me what it is that I'm doing wrong? All I want is just simple looking grass.

Any answers/advice would be greatly appreciated as I am at my wits' end with this grass.

Product Version: Not Selected
Tags:
grassmat.jpg (585.9 kB)
grass1.jpg (72.1 kB)
grass1angle.jpg (893.7 kB)
grass1normals.jpg (566.0 kB)
grass2.jpg (761.6 kB)
more ▼

asked Mar 26 '15 at 02:53 AM in Rendering

avatar image

KrunkFu
218 13 12 24

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

3 answers: sort voted first

Hello KrunkFu,

The last picture that you linked requires that yo rebuild lighting.

I would start with this.

I see that you have two sided turned on in the details panel of your material. As well as two sided foliage so those are covered as far as troubleshooting goes.

If you are using world position offset, as I see you are to achieve the motion of the grass, then switch your lights to stationary or movable. This will allow for the dynamic lighting look you are trying to achieve.

If you painted this with foliage then under your foliage panel where you have your mesh added to that brush there are options for density and other parameters.

Scroll down to Instance settings and make sure that you have cast shadow enabled.

If you are still experiencing this issue after these troubleshoots then please post again.

Thanks,

Logan

more ▼

answered Aug 05 '15 at 06:39 PM

avatar image Logan Bailey ♦♦ STAFF Aug 07 '15 at 01:57 PM

Hey KrunkFu,

I haven't heard from you yet. I was wondering if you were still experiencing this issue or if you had resolved it yourself?

Thanks,

Logan

avatar image Logan Bailey ♦♦ STAFF Aug 10 '15 at 01:18 PM

Hey KrunkFu,

Due to tracking issues. I will be marking the last answer I gave as correct.

If you are still experiencing this issue then please comment again and I will continue to work with you on this issue.

Thanks,

Logan

avatar image KrunkFu Aug 11 '15 at 01:02 PM

I missed your reply. Sorry about that. Its been a while since I asked this that even I forgot about it.

I am still having this issue. I went back and checked my settings and I have: 2 sided geo on Light is set to movable because of my day and night cycle I have force no precomupted lighting on and I'm using a light propagation volume so no need to rebuild lighting.

I'm not sure why it says I do in the screen shot but it looks the same either way.

I started a thread here as well: https://forums.unrealengine.com/showthread.php?65546-Grass-Shading-Issue

I think the issue is with my mesh and its normals. I've given up on grass for a while and focused on other things. When I revisit grass and figure all of this out I'll make sure to come back and post it here.

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

maybe check double sided geometry

more ▼

answered Aug 05 '15 at 01:58 AM

avatar image

vgripps123
0 1 1 2

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

maybe try double sided geometry

more ▼

answered Aug 05 '15 at 01:59 AM

avatar image

vgripps123
0 1 1 2

(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