HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Grass Color Problem (SOLVED)

Go down 
AuthorMessage
Banditka95

avatar

Game username : Banditka95
Server : Reflection Of Spirits (Owner)
Female Posts : 69
Join date : 2016-02-01
Age : 21
Location : Somewhere far away

PostSubject: Grass Color Problem (SOLVED)   Thu Apr 13, 2017 4:05 pm

So ive tried every code i know now in the materialfile to fix this but nothing worked.

The colors of the grass are black/pink/red/green on some parts and not what they are supposed to be in a map, how can i fix that there is no other color parts of grass in a map, just the normal yellowgrass?

https://2img.net/h/s18.postimg.cc/fk16b5ll5/image.png

GrassCode i use:
 


Last edited by Banditka95 on Sat Apr 15, 2017 2:38 am; edited 1 time in total
Back to top Go down
http://reflectionofspirits.freeforums.net
Darc

avatar

Game username : Darcia
Server : Developer for Okami No Tochi
Female Posts : 78
Join date : 2016-03-04
Age : 20

PostSubject: Re: Grass Color Problem (SOLVED)   Thu Apr 13, 2017 4:30 pm

Try a .jpg instead of a .png? what is the extension of the grass image?
Back to top Go down
ThylaSteve

avatar

Game username : Steve
Server : It's a secret (for now)
Male Posts : 141
Join date : 2014-04-24
Age : 20
Location : United States

PostSubject: Re: Grass Color Problem (SOLVED)   Thu Apr 13, 2017 9:55 pm

What does the .world code say for your grass? your problem most likely happens to do with that.
Back to top Go down
Hamilton

avatar

Game username : Hamilton
Server : Myatar Legends // Dragon's Den
Female Posts : 395
Join date : 2011-10-20
Age : 32
Location : everywhere

PostSubject: Re: Grass Color Problem (SOLVED)   Fri Apr 14, 2017 8:51 pm

The way the grass is hardcoded for displaying color is that it looks at the texture pixel by pixel. It's designed this way so that the lighter and darker grasses better blend in with the ground texture. Areas of off color are caused by things like jpg artifact, which can muss up colors around the edges of texture details. (like the way repeatedly saving an image from online can develop a fuzziness to it)

Where you want to look for correcting it would be whatever grass color you set in the .world file.

[Grass]
Grass <-----------------------------which grass shape from the grass folder/file
sunnyislegrassmask.png <------------mask of grass density
Grass2.jpg <-------------------------the texture file the grass will get it's color from

In this example, I have some similar problems for this map as you do yours. I noticed in copying it for the example that the file I picked is a really old jpg and isn't even the same grass texture I'd used in the maps .material file. So using a crisp png file or at least making the file the same as from the .material file should do away with most the out of place dark patches.

*shrug* when in doubt, I suppose you could assign a one pixel sized green texture file for the grass color. lol
Back to top Go down
Banditka95

avatar

Game username : Banditka95
Server : Reflection Of Spirits (Owner)
Female Posts : 69
Join date : 2016-02-01
Age : 21
Location : Somewhere far away

PostSubject: Re: Grass Color Problem (SOLVED)   Sat Apr 15, 2017 2:41 am

Oh ive seen it is the pixels of the image, thank you Hamilton x3
Back to top Go down
http://reflectionofspirits.freeforums.net
Sponsored content




PostSubject: Re: Grass Color Problem (SOLVED)   

Back to top Go down
 
Grass Color Problem (SOLVED)
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support :: Solved Support Issues-
Jump to: