I want to upscale the vanilla sky textures
-
- Posts: 555
- Joined: Fri Oct 23, 2015 8:19 pm
Re: I want to upscale the vanilla sky textures
I mean... a classic feel wouldn't have trees visible a mile away. I think the proper way to remake the skies would be to not use textures for everything. Simply code the sky to do all that gradient shifting and color changing and darkening that a sky does. Then your textures of clouds and celestial objects have transparent backgrounds and are applied against that.
- pango
- Posts: 3359
- Joined: Wed Jul 18, 2018 6:14 pm
- Location: France
- Contact:
Re: I want to upscale the vanilla sky textures
I did some tests using undither back in March.
One problem I had was that they didn't use classic Floyd-Steinberg algorithm for dithering (only some, more broken, error diffusion dithering), so on some images there's noticeable diagonal "bleeding" that this program couldn't adjust for. Check the large dark cloud in the image below: That's where I stopped my investigation at the time. Modifying those images beyond maybe such small fixes is difficult, because you should be able to modify all the variants of the same landscape/clouds/etc. the same way, and they're 1920 images to go; People that suggest that are welcome to try by themselves, it's hard,
It would quickly becomes easier to generate new skies from scratch, but that requires to understand how exactly each part of those images vary with time (color palette, clouds density, sun's position and transparency effects,...)
I considered for a second scripting something using POV-Ray but I haven't done anything with it in 15 years, I quickly gave up...
Anyway, here's what I got with just that program, I hope you can find it of use:
https://ufile.io/y0qgmiki
One problem I had was that they didn't use classic Floyd-Steinberg algorithm for dithering (only some, more broken, error diffusion dithering), so on some images there's noticeable diagonal "bleeding" that this program couldn't adjust for. Check the large dark cloud in the image below: That's where I stopped my investigation at the time. Modifying those images beyond maybe such small fixes is difficult, because you should be able to modify all the variants of the same landscape/clouds/etc. the same way, and they're 1920 images to go; People that suggest that are welcome to try by themselves, it's hard,
It would quickly becomes easier to generate new skies from scratch, but that requires to understand how exactly each part of those images vary with time (color palette, clouds density, sun's position and transparency effects,...)
I considered for a second scripting something using POV-Ray but I haven't done anything with it in 15 years, I quickly gave up...
Anyway, here's what I got with just that program, I hope you can find it of use:
https://ufile.io/y0qgmiki
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
- King of Worms
- Posts: 4753
- Joined: Mon Oct 17, 2016 11:18 pm
- Location: Scourg Barrow (CZ)
- Contact:
Re: I want to upscale the vanilla sky textures
I upscaled some of these last year as a proof of concept. Had some nice results using waifu I guess. Todsy I have more options including Ai. Thing is, as long as I cant see results ingame, its not worth the efforts and I have better things to do in regards to DFU.
I hope the progress will be made and this part will get more open for modding.
Ps: with this amount of images any manual input is out of question
PSS: run a quick test, waifu is still the best option IMO, AI was not that stellar
I hope the progress will be made and this part will get more open for modding.
Ps: with this amount of images any manual input is out of question
PSS: run a quick test, waifu is still the best option IMO, AI was not that stellar
DREAM Nexus https://www.nexusmods.com/users/73250038?tab=user+files
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
- haloterm
- Posts: 391
- Joined: Sat Feb 16, 2019 5:21 am
Re: I want to upscale the vanilla sky textures
Does DFU accept replaced sky textures by now?
- joshcamas
- Posts: 87
- Joined: Mon Sep 21, 2020 7:01 am
Re: I want to upscale the vanilla sky textures
I believe so, pretty sure a PR I made a long time ago that added support to custom skies got merged...
- Ralzar
- Posts: 2211
- Joined: Mon Oct 07, 2019 4:11 pm
- Location: Norway
Re: I want to upscale the vanilla sky textures
Hm, I did some work on making some quick and dirty versions of the vanilla sky textures, but without the mountains in the horizon, which often look weird with terrain mods and extended view distance. I even set up a macro in photoshop for it. I wonder what I did with that...
- haloterm
- Posts: 391
- Joined: Sat Feb 16, 2019 5:21 am
Re: I want to upscale the vanilla sky textures
Sounds awesome and would be much appreciated if found.Ralzar wrote: ↑Mon Sep 20, 2021 3:15 pm Hm, I did some work on making some quick and dirty versions of the vanilla sky textures, but without the mountains in the horizon, which often look weird with terrain mods and extended view distance. I even set up a macro in photoshop for it. I wonder what I did with that...
I had a look at the original textures and there are A LOT of them for all the animations, much more than I ever noticed in game.
-
- Posts: 46
- Joined: Thu Sep 16, 2021 3:27 pm
Re: I want to upscale the vanilla sky textures
Not sure if this is the right thread, but I wonder if something can be done with the mapping of vanilla skybox, as it doesn't seem to line up right, making it extremely nauseous. It is extremely noticeable then standing still and just rotating camera around, as it rotates quicker then the rest of the picture. As far as I remember that was the same with the original, just less noticeable perhaps due to low framerate.
- pango
- Posts: 3359
- Joined: Wed Jul 18, 2018 6:14 pm
- Location: France
- Contact:
Re: I want to upscale the vanilla sky textures
Personally I think it could deserve its own topic.sayber1 wrote: ↑Mon Sep 20, 2021 8:11 pm Not sure if this is the right thread, but I wonder if something can be done with the mapping of vanilla skybox, as it doesn't seem to line up right, making it extremely nauseous. It is extremely noticeable then standing still and just rotating camera around, as it rotates quicker then the rest of the picture. As far as I remember that was the same with the original, just less noticeable perhaps due to low framerate.
I think Interkarma already explained the problem before in a now years old thread, but I couldn't find it; Each skybox texture covers a stripe over a half cylinder, it has to display over 180°, so if the scale is fixed, its rotation speed is also set. It's actually usually slower than it should, not faster, and it gets worse with larger aspect ratio screens (that's why it's less visible in classic 4:3)
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
-
- Posts: 46
- Joined: Thu Sep 16, 2021 3:27 pm
Re: I want to upscale the vanilla sky textures
What would be a syntax for sky texture replacement in StreamingAssets?
I think I'd like to work on fixing sky ratio after I finish my TEXTURE.184 upscaling project.
I think I'd like to work on fixing sky ratio after I finish my TEXTURE.184 upscaling project.