Jump to content

Replacing default sun


Skarch

Recommended Posts

Does anyone know how/if you can replace the default sun texture in 1.3.x? 

A few releases ago I was able to edit an asset file to get this...

bNgbDrk.png
 

I've tried editing the sharedassets10.asset file (which I "think" is the right one) but I'm not having any luck. 

I'm thinking I just need the right editor, maybe the one's I've tried (UAE, UAV) aren't compatible with the newest version of Unity?

I've also tried various sunflare mods (which are all awesome!) but the flares are still superimposed on top of the default sun texture.

Or maybe there's a way to create a ghost in Scatterer that blocks the default sun, but I haven't figured it out yet.  Seems the default sun texture always has priority.

Anyway, thoughts and suggestions very much appreciated, thanks!!!

-S

Link to comment
Share on other sites

It sounds like you are trying to get rid of the stock sunflare, which is the bright light seen emanating from the sun when viewed from a distance.  When you add a scatterer sunflare, that doesn't disable the stock one.  To do that you have to change the sun's sunLensFlareColor to 0,0,0,0, which will make the stock sunflare invisible.  Just install Kopernicus and add the following config somewhere inside your GameData folder.  That should do it.

@Kopernicus:NEEDS[scatterer]
{
	@Body:HAS[@Template:HAS[#name[Sun]]]
	{
		%ScaledVersion
		{
			%Light
			{
				%sunLensFlareColor = 0,0,0,0
			}
		}
    	}
}

 

Edited by OhioBob
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...