Jump to content


Photo

Bunkers going gray?


Best Answer Mike Jones , 26 October 2016 - 08:28 AM

Colour looks fine to me, what looks like grey in the editor can look brighter in game as DP said. You can click the play button in the game window to go into unity play mode and fly around to see how the bunkers look in lighting scenario closer to what you will experience in the game itself.

 

I would not mess around with the directional lighting settings at all.

Go to the full post


  • Please log in to reply
9 replies to this topic

#1 StoneComet

StoneComet

    Advanced Member

  • Members
  • PipPipPip
  • 450 posts
  • LocationNew York

Posted 26 October 2016 - 12:18 AM

The following images will help explain and show some settings that might be relevant. I will admit I was experimenting with the layers but never touched the bunkers other than to increase the lip to -0.03 and the experimented a little with the blend depth. I also changed my fairways to plain and for kicks added that texture to the greens. I did all this in a separately created library.

 

When I reset the library to the default as you can see my bunkers now seem more grey as you can see from the photos. I have feeling I somehow clicked on some other setting but not sure what that might be so I included a look at the directional lighting in case I somehow altered something there.

 

Lw2MmbTl.png

 

jaQgRl5h.png

 

Ep5ouejh.png

 

Does anyone know what I did and how to fix it?

 

Thank You,

 

SC  :)


- We would be wise to remember that extremism is the real enemy and to keep ourselves aware so as not to become extreme ourselves; otherwise the enemy wins. -


#2 DPRoberts

DPRoberts

    Advanced Member

  • Members
  • PipPipPip
  • 1,610 posts

Posted 26 October 2016 - 04:05 AM

Cannot comment on your directional lighting. I would compare your Main color in that middle section of the LL to the default library as well. That controls the chroma/hue to some degree. Be aware that in game, I feel most whites gleem a bit more than in Unity editor. So what looks good in Unity may burn the retinas in game. A bit of yellowing or greying and keeping fresnel down seems to control it. However, I understand some people like really white bunkers and teeth.

#3 Kablammo11

Kablammo11

    Obscure Person

  • Members
  • PipPipPip
  • 3,953 posts

Posted 26 October 2016 - 08:13 AM

Like DPR correctly said: Your Main Color in the Layers Library is rather dark, I find that your bunker colour in the scene pretty much reflects accurately what is happening in the Layer settings. Click on the Main colour field to bring up the colour picker to make it brighter. This is not a real time thing, you need to recalculate the mesh to see the difference.

May well be that you accidentally changed that colour, thinking you were dealing with another layer - I just found out yesterday that when working on the Layers Library settings while the spline tool is still on leads to some confusing misfirings... 


>>>>>>> Ka-Boom!





• Mulligan Municipal • Willow Heath • Pommeroy • Karen • Five Sisters • Xaxnax Borealis • Aroha • Prison Puttˆ

• The Upchuck   The Shogun  • Black Swan (•)

 

<<<<<


#4 Mike Jones

Mike Jones

    Advanced Member

  • Administrators
  • 6,159 posts

Posted 26 October 2016 - 08:28 AM   Best Answer

Colour looks fine to me, what looks like grey in the editor can look brighter in game as DP said. You can click the play button in the game window to go into unity play mode and fly around to see how the bunkers look in lighting scenario closer to what you will experience in the game itself.

 

I would not mess around with the directional lighting settings at all.



#5 StoneComet

StoneComet

    Advanced Member

  • Members
  • PipPipPip
  • 450 posts
  • LocationNew York

Posted 26 October 2016 - 12:33 PM

Goes without saying that I appreciate the replies. I am aware that there are differences between Unity/CF but yet even when I either use the play option or compile and go in game the bunkers are still more grey than they used to be. In addition if I simply copy the default library (which is read-only so I was never able to change the main color for that library and that is the library loaded in my earlier examples) and load it I get dark shadowy masses in my bunker.

 

I did not touch the directional lighting as far as I can recall. Certainly never opened it or selected it until this event. I did find some logs in my documents/perfect parallel that were written about the same time the issue started. Something about Unity Editor shader errors. I'm thinking it is a Unity bug that I ran into. Here are some more pics. I'm thinking I need to either reinstall Unity or possibly import all assets again.

 

Any way someone could post the default directional lighting values so I can compare?

 

dSbKMCo.png

 Here I simply saved the default library as backup and re-spline. That is all I do. 

8Te7l5a.png

 

Here is the error log found in my documents/mohawk valley golf course(project folder)/library folder

LI0QcKm.png

 

There is a small file that was modified at the same time in this folder called shadercache.db. I'm wondering if I just need to delete this to force Unity to recreate it.

 

I have the project backed up in a cloud so anything I do now I can go back and just use the off white bunkers. Honestly I like the look over the bright white but something funky is going on with the shader compiler and my layers libraries.

 

SC  :huh:


- We would be wise to remember that extremism is the real enemy and to keep ourselves aware so as not to become extreme ourselves; otherwise the enemy wins. -


#6 Kablammo11

Kablammo11

    Obscure Person

  • Members
  • PipPipPip
  • 3,953 posts

Posted 26 October 2016 - 12:51 PM

The normal setting is much too high with 0.7 in your layers library. Try around 0.15 or below - also check your normal texture to see if its bumpiness is maxed - it shouldn't, try around 0.9. (These are my yardsticks, though, I do not know the defaults)

Forget the directional lighting, this is not a lighting issue. It looks like your normal map is doing something weird or set way too strong.

Try to unselect it (set it to None where it says select in the thumbnail), then calculate your bunker again, see if that makes a difference.

If this tells you that this is the gremlin that irks you, reselect the normal and reduce it's settings and recalculate until you get a result you like.


  • StoneComet likes this

>>>>>>> Ka-Boom!





• Mulligan Municipal • Willow Heath • Pommeroy • Karen • Five Sisters • Xaxnax Borealis • Aroha • Prison Puttˆ

• The Upchuck   The Shogun  • Black Swan (•)

 

<<<<<


#7 Mike Jones

Mike Jones

    Advanced Member

  • Administrators
  • 6,159 posts

Posted 26 October 2016 - 01:08 PM

Goes without saying that I appreciate the replies. I am aware that there are differences between Unity/CF but yet even when I either use the play option or compile and go in game the bunkers are still more grey than they used to be. In addition if I simply copy the default library (which is read-only so I was never able to change the main color for that library and that is the library loaded in my earlier examples) and load it I get dark shadowy masses in my bunker.

 

I did not touch the directional lighting as far as I can recall. Certainly never opened it or selected it until this event. I did find some logs in my documents/perfect parallel that were written about the same time the issue started. Something about Unity Editor shader errors. I'm thinking it is a Unity bug that I ran into. Here are some more pics. I'm thinking I need to either reinstall Unity or possibly import all assets again.

 

Any way someone could post the default directional lighting values so I can compare?

 

dSbKMCo.png

 Here I simply saved the default library as backup and re-spline. That is all I do. 

8Te7l5a.png

 

Here is the error log found in my documents/mohawk valley golf course(project folder)/library folder

LI0QcKm.png

 

There is a small file that was modified at the same time in this folder called shadercache.db. I'm wondering if I just need to delete this to force Unity to recreate it.

 

I have the project backed up in a cloud so anything I do now I can go back and just use the off white bunkers. Honestly I like the look over the bright white but something funky is going on with the shader compiler and my layers libraries.

 

SC  :huh:

 

Looks to me from the pics that your 'Normal' texture is actually not set to a normal texture in the texture property settings. Have a look in the inspector for the 'blue' texture and make sure it's set to a 'normal' one.


  • StoneComet likes this

#8 StoneComet

StoneComet

    Advanced Member

  • Members
  • PipPipPip
  • 450 posts
  • LocationNew York

Posted 26 October 2016 - 01:20 PM

K11,

 

Thanks for your response.

 

We are onto something. What I'm wondering is how the read-only bunker normal setting got to 0.7. I also suspect my main color was darkened somehow in the default library. Is there a way for me to replace the default.cfl with a fresh copy? 

 

How do I check my normal texture (bunkerrake2048_n) bumpiness? At ant rate I now see a way forward.

 

Cheers,

 

SC  :)


- We would be wise to remember that extremism is the real enemy and to keep ourselves aware so as not to become extreme ourselves; otherwise the enemy wins. -


#9 Kablammo11

Kablammo11

    Obscure Person

  • Members
  • PipPipPip
  • 3,953 posts

Posted 26 October 2016 - 02:59 PM

About saving the default library etc, see Mike's tutorials. I shouldn't tackle any questions that could be answered by the basic study of CF 101 - RTFM is now WTFT.

 

You check on your normal texture same as on every other texture, and every texture should be checked anyway. Click on it inside the Layers Library and the this will bring up Library Content in the Asset window, with the chose texture highlighted. 

Now click on that texture and its corresponding settings will appear in the Inspector window. And in there, if your normal is set to normal (top drop down selection), you will find the bumpiness slider. There are also a lot of other settings in there which might become relevant or not for some more adjustments, but if you are on the default lib, don't bother with them. To make any settings changes count, you need to press the "Apply" button, though Unity will remind you to do that eventually.


  • StoneComet likes this

>>>>>>> Ka-Boom!





• Mulligan Municipal • Willow Heath • Pommeroy • Karen • Five Sisters • Xaxnax Borealis • Aroha • Prison Puttˆ

• The Upchuck   The Shogun  • Black Swan (•)

 

<<<<<


#10 jspirate

jspirate

    Advanced Member

  • Members
  • PipPipPip
  • 487 posts

Posted 05 May 2018 - 03:54 PM

I am having the same problem StoneComet was having and I am unable to get this issue resolved.  To be honest, I am not sure I totally understand what he ended up doing to resolve it.

 

My issue pops up when I try to change the colors of either the green or fairways. 

 

My steps/methods:

First I saved the "default" layers library as something else so that it was editable.  Then I tried the two methods listed below.  Both to the same result.

1.  Using the swatch in the layers library.  I made minor incremental change and it did change the color of the fairway, but it also made the bunker gray.

2.  After doing that I tried the method that DPR shared in one of his videos.  I used PS to tighten up the levels on the O-FairwayCross and saved it as O-FairwayCross_PSD.psd.  I then used it Texture spot 1.

 

Before:

i-vQmsJxg-X2.jpg

 

After:

i-f6wVkRX-X2.jpg

 

 

Help please.... I really want to change the fairway and green colors.

 

Thank you!

 

EDIT:

I think I figured it out right after posting.  Haha

Anyway, if the fix holds true, then I now understand K11's comments.  When I made a copy of the "default" layers (just did a "save as"), unity borked the bunker settings.  I used the inspector to compare the default settings to the bunker settings in the new library and they were not the same.  I adjusted them to be identical and it appears that I am good to go...

 

I was going to delete this post because it doesn't offer anything new, but I will leave it in case it might help someone else put the pieces together...


  • Mike Jones likes this

i7-8700K
GIGABYTE Z390 AORUS Pro
64 GB DDR4 3200
MSI GeForce GTX 1080 Ti Gaming X
LG 32GK850G
Win 10 Home Premium on 1TB SSD

 

Courses:

Bradford Links - released

Ironwood - released

Cypress Landing - released (also available in a 3DG version)

Crow's Nest - released





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users