Sunsprite visible during night

fixing bugs
Post Reply
  • Author
  • Message
Offline
User avatar
Posts: 71
Joined: 08 Apr 2012, 09:12
Location: Warsaw

Sunsprite visible during night

I dunno was it solved anywhere on the forums already - if so please redirect me. Either way, I got a major Skyrim crash recently that needed to reinstall it, thus lost my prefs INI file. Am I right that some setting in the SkyrimPref.ini file may be missing and cause the improper effect? I checked the enbsunsprite.fx code and the during night the mask texture seem to be mostly white, in the sky areas. Masking out objects seem to work well, though. Changing to v0.250 after Skyrim reinstallation didn't work.

Thanks,
MK
_________________
Skyrim Visual Immersion

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17557
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: Sunsprite visible during night

In last several updates i did various changes which may affect this, but don't see similar issues myself. Sun in the night is not visible, but it's drawed actually on the sky. May be you have some mod installed for sun or bFloatingPointRenderTarget=1 not set in all skyrimprefs.ini files?
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7

Offline
User avatar
Posts: 71
Joined: 08 Apr 2012, 09:12
Location: Warsaw

Re: Sunsprite visible during night

Hmm... the flag you mentioned IS set to one. Below my current SkyrimPrefs.ini:

Code: Select all

[General]
fBrightLightColorB=1.0000
fBrightLightColorG=1.0000
fBrightLightColorR=1.0000
iStoryManagerLoggingEvent=-1
bEnableStoryManagerLogging=0
bUseThreadedMorpher=1
bUseThreadedMeshes=1
bUseThreadedTextures=1
bUseThreadedBlood=0
bUseThreadedParticleSystem=1
bUseThreadedLOD=1
[Imagespace]
bDoDepthOfField=1
iRadialBlurLevel=2
bDoRadialBlur=1
[Display]
fShadowLODMaxStartFade=8000.0
fSpecularLODMaxStartFade=12000.0
fLightLODMaxStartFade=11500.0
iBlurDeferredShadowMask=3
fInteriorShadowDistance=3000.0000
fShadowDistance=4000.0000
iShadowMapResolutionSecondary=2048
iShadowMapResolutionPrimary=2048
iShadowSplitCount=4
iMaxAnisotropy=1
fLeafAnimDampenDistEnd=4600.0000
fLeafAnimDampenDistStart=3600.0000
fTreesMidLODSwitchDist=1422.0000
fGamma=1.0000
;1.1500
;1.1000
;0.8800
fDecalLOD2=1500.0000
fDecalLOD1=1000.0000
fSpecularLODStartFade=1500.0000
fShadowLODStartFade=10000.0000
fLightLODStartFade=3500.0000
iTexMipMapMinimum=0
iTexMipMapSkip=0
iWaterMultiSamples=4
iMultiSample=1
iShadowMode=3
bTreesReceiveShadows=1
bDrawLandShadows=1
bFull Screen=1
iSize H=1080
iSize W=1920
fMeshLODFadePercentDefault=1.2000
fMeshLODFadeBoundDefault=256.0000
fMeshLODLevel2FadeTreeDistance=2133.0000
fMeshLODLevel1FadeTreeDistance=2844.0000
fMeshLODLevel2FadeDist=10000000.0000
fMeshLODLevel1FadeDist=10000000.0000
iScreenShotIndex=66
bShadowMaskZPrepass=0
bMainZPrepass=0
iMaxSkinDecalsPerFrame=25
iMaxDecalsPerFrame=100
bFloatPointRenderTarget=1
sD3DDevice="NVIDIA GeForce GTX 560 Ti  "
bFXAAEnabled=0
iShadowMapResolution=2048
fShadowBiasScale=0.2500
iShadowMaskQuarter=4
iAdapter=0
iPresentInterval=0
iShadowFilter=4
bTransparencyMultisampling=0
bDrawShadows=1
bShadowsOnGrass=1
bDeferredShadows=1
bActorSelfShadowing=1
bUseSunbeams=1
bSimpleLighting=0
bEquippedTorchesCastShadows=0
[Grass]
b30GrassVS=1
fGrassStartFadeDistance=7000.0000
fGrassMaxStartFadeDistance=30000.0000
fGrassMinStartFadeDistance=0.0000
bGrassPointLighting=1
bDrawShaderGrass=1
[MAIN]
bGamepadEnable=0
bCrosshairEnabled=1
fHUDOpacity=1.0000
bSaveOnPause=1
bSaveOnTravel=1
bSaveOnWait=1
bSaveOnRest=1
fSkyCellRefFadeDistance=150000.0000
[GamePlay]
bShowFloatingQuestMarkers=1
bShowQuestMarkers=1
iDifficulty=2
[Interface]
bDialogueSubtitles=1
bGeneralSubtitles=1
fMouseCursorSpeed=0.9000
bShowCompass=1
[Controls]
fGamepadHeadingSensitivity=1.0000
fMouseHeadingSensitivity=0.0100
bAlwaysRunByDefault=1
bInvertYValues=0
bGamePadRumble=0
bMouseAcceleration=0
bUseKinect=0
fMouseHeadingYScale=0.85
fMouseHeadingXScale=0.02
[Particles]
iMaxDesired=750
[SaveGame]
fAutosaveEveryXMins=5.0000
bDisableAutoSave=0
[AudioMenu]
fAudioMasterVolume=1.0000
fVal7=1.0000
uID7=1543708853
fVal6=1.0000
uID6=1543708850
fVal5=1.0000
uID5=1543710232
fVal4=1.0000
uID4=1543708854
fVal3=1.0000
uID3=94881
fVal2=0.5000
uID2=466532
fVal1=1.0000
uID1=554685
fVal0=1.0000
uID0=1007612
[Clouds]
fCloudLevel2Distance=262144.0000
fCloudLevel1Distance=32768.0000
fCloudLevel0Distance=16384.0000
fCloudNearFadeDistance=9000.0000
[TerrainManager]
fTreeLoadDistance=75000.0000
fBlockMaximumDistance=250000.0000
fBlockLevel1Distance=70000.0000
fBlockLevel0Distance=35000.0000
fSplitDistanceMult=1.5000
bShowLODInEditor=0
[NavMesh]
fObstacleAlpha=0.5000
fCoverSideHighAlpha=0.8000
fCoverSideLowAlpha=0.6500
fEdgeFullAlpha=1.0000
fEdgeHighAlpha=0.7500
fEdgeLowAlpha=0.5000
fTriangleFullAlpha=0.7000
fTriangleHighAlpha=0.3500
fTriangleLowAlpha=0.2000
fLedgeBoxHalfHeight=25.0000
fEdgeDistFromVert=10.0000
fEdgeThickness=10.0000
fPointSize=2.5000
[Trees]
bRenderSkinnedTrees=1
uiMaxSkinnedTreesToRender=32
bUseMultiThreadedTrees=1
bEnableTreeAnimations=1
[Decals]
uMaxDecals=1000
bDecals=1
bSkinnedDecals=1
uMaxSkinDecals=100
uMaxSkinDecalsPerActor=60
[LOD]
fLODFadeOutMultObjects=15.0000
fLODFadeOutMultItems=15.0000
fLODFadeOutMultActors=15.0000
fLODFadeOutMultSkyCell=1.0000
[Launcher]
bEnableFileSelection=1
bShowAllResolutions=1
uLastAspectRatio=3
[BlurShaderHDR]
bDoHighDynamicRange=1
[BlurShader]
bUseBlurShader=0
[Water]
iWaterReflectHeight=1024
iWaterReflectWidth=1024
bUseWaterDisplacements=1
bUseWaterRefractions=1
bUseWaterReflections=1
bUseWaterDepth=1
bUseWaterReflectionBlur=1
bReflectExplosions=1
bReflectActors=1
iWaterBlurAmount=4
bAutoWaterSilhouetteReflections=0
bForceHighDetailReflections=1
bUseWaterShader=1
bUseWaterLOD=1
[BackgroundLoad]
bSelectivePurgeUnusedOnFastTravel=0
_________________
Skyrim Visual Immersion

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17557
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: Sunsprite visible during night

Don't know is it your modifications or from some guide, but it's absolutely wrong. Try mine and do not touch anything you don't know and what is not supposed to work

Code: Select all

[General]
fBrightLightColorB=1.0000
fBrightLightColorG=1.0000
fBrightLightColorR=1.0000
iStoryManagerLoggingEvent=-1
bEnableStoryManagerLogging=0

[Imagespace]
bDoDepthOfField=1
iRadialBlurLevel=2
[Display]
iBlurDeferredShadowMask=3
fInteriorShadowDistance=3000.0000
fShadowDistance=8000.0000
iShadowMapResolutionSecondary=1024
iShadowMapResolutionPrimary=2048
iShadowSplitCount=2
iMaxAnisotropy=16
fLeafAnimDampenDistEnd=4600.0000
fLeafAnimDampenDistStart=3600.0000
fTreesMidLODSwitchDist=3600.0000
fGamma=1.0000
fDecalLOD2=1500.0000
fDecalLOD1=1000.0000
fSpecularLODStartFade=2000.0000
fShadowLODStartFade=200.0000
fLightLODStartFade=3500.0000
iTexMipMapMinimum=0
iTexMipMapSkip=0
iWaterMultiSamples=0
iMultiSample=0
iShadowMode=3
bTreesReceiveShadows=1
bDrawLandShadows=1
bFull Screen=0
iSize H=768
iSize W=1024
fMeshLODFadePercentDefault=1.2000
fMeshLODFadeBoundDefault=256.0000
fMeshLODLevel2FadeTreeDistance=2048.0000
fMeshLODLevel1FadeTreeDistance=2844.0000
fMeshLODLevel2FadeDist=10000000.0000
fMeshLODLevel1FadeDist=10000000.0000
iScreenShotIndex=2
bShadowMaskZPrepass=0
bMainZPrepass=0
iMaxSkinDecalsPerFrame=25
iMaxDecalsPerFrame=100
bFloatPointRenderTarget=1
sD3DDevice="NVIDIA GeForce GTX 650 Ti "
bFXAAEnabled=0
iShadowMapResolution=4096
fShadowBiasScale=0.1500
iShadowMaskQuarter=4
iAdapter=0
iPresentInterval=0
iShadowFilter=3
bShadowsOnGrass=1
bTransparencyMultisampling=0
bDeferredShadows=1
bDrawShadows=1
[Grass]
b30GrassVS=1
fGrassStartFadeDistance=7000.0000
fGrassMaxStartFadeDistance=7000.0000
fGrassMinStartFadeDistance=0.0000
[MAIN]
bGamepadEnable=0
bCrosshairEnabled=1
fHUDOpacity=1.0000
bSaveOnPause=0
bSaveOnTravel=0
bSaveOnWait=0
bSaveOnRest=0
fSkyCellRefFadeDistance=150000.0000
[GamePlay]
bShowFloatingQuestMarkers=1
bShowQuestMarkers=1
iDifficulty=0
[Interface]
bDialogueSubtitles=1
bGeneralSubtitles=1
fMouseCursorSpeed=1.0000
bShowCompass=1
[Controls]
fGamepadHeadingSensitivity=1.0000
fMouseHeadingSensitivity=0.0320
bAlwaysRunByDefault=1
bInvertYValues=0
bGamePadRumble=0
bMouseAcceleration=1
bUseKinect=0
[Particles]
iMaxDesired=750
[SaveGame]
fAutosaveEveryXMins=60.0000
[AudioMenu]
fAudioMasterVolume=0.0000
fVal7=1.0000
uID7=0
fVal6=1.0000
uID6=0
fVal5=1.0000
uID5=0
fVal4=1.0000
uID4=0
fVal3=1.0000
uID3=94881
fVal2=0.1000
uID2=466532
fVal1=1.0000
uID1=554685
fVal0=0.8000
uID0=1007612
[Clouds]
fCloudLevel2Distance=262144.0000
fCloudLevel1Distance=32768.0000
fCloudLevel0Distance=16384.0000
fCloudNearFadeDistance=9000.0000
[TerrainManager]
fTreeLoadDistance=75000.0000
fBlockMaximumDistance=250000.0000
fBlockLevel1Distance=70000.0000
fBlockLevel0Distance=35000.0000
fSplitDistanceMult=1.5000
bShowLODInEditor=0
[NavMesh]
fObstacleAlpha=0.5000
fCoverSideHighAlpha=0.8000
fCoverSideLowAlpha=0.6500
fEdgeFullAlpha=1.0000
fEdgeHighAlpha=0.7500
fEdgeLowAlpha=0.5000
fTriangleFullAlpha=0.7000
fTriangleHighAlpha=0.3500
fTriangleLowAlpha=0.2000
fLedgeBoxHalfHeight=25.0000
fEdgeDistFromVert=10.0000
fEdgeThickness=10.0000
fPointSize=2.5000
[Trees]
bRenderSkinnedTrees=1
uiMaxSkinnedTreesToRender=20
[Decals]
uMaxDecals=1000
bDecals=1
bSkinnedDecals=1
uMaxSkinDecals=100
uMaxSkinDecalsPerActor=60
[LOD]
fLODFadeOutMultObjects=15.0000
fLODFadeOutMultItems=15.0000
fLODFadeOutMultActors=15.0000
fLODFadeOutMultSkyCell=1.0000
[Launcher]
bEnableFileSelection=1
bShowAllResolutions=0
uLastAspectRatio=1
[BlurShaderHDR]
bDoHighDynamicRange=1
[BlurShader]
bUseBlurShader=0
[Water]
iWaterReflectHeight=512
iWaterReflectWidth=512
bUseWaterDisplacements=1
bUseWaterRefractions=1
bUseWaterReflections=1
bUseWaterDepth=1
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7

Offline
User avatar
Posts: 71
Joined: 08 Apr 2012, 09:12
Location: Warsaw

Re: Sunsprite visible during night

OK, will do! Thanks!
_________________
Skyrim Visual Immersion

Offline
User avatar
Posts: 71
Joined: 08 Apr 2012, 09:12
Location: Warsaw

Re: Sunsprite visible during night

It didn't work I'm affraid :( - used your INI, only changing the resolution and sD3DDevice string - sunsprite still appears during night. Any idea what kind of mods or other in-game setting can lead to such outcome?

MK
_________________
Skyrim Visual Immersion

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17557
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: Sunsprite visible during night

No, it's your task to find which are. Sun on the sky do not differ from moons, so i detect it by path and distance from camera. Visibility is one shader constant and rasterizing it to texture, so if you see sunsprite and it's bright, then some mod changed sun mesh or whatever it is contain that constant of sun intensity, but why texture of sun is bright, that's i can't answer.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
Post Reply