If you previously registered on VGF XenForo boards, you will need to use the forgot password feature in order to be able to post here. If you do not receive a password reset by e-mail, use the contact page or post in registration/login help.

Ocarina of Time UHD texture replacement, Shaders, & Romhack (by me)

Moderators: Marilink, Booyakasha

User avatar
е и ժ е я
Supermod
Posts: 40952
Joined: Sun Aug 18, 2002 1:00 am
Location: I rub my tilde all over your asterisk
Contact:

Post by е и ժ е я » Mon Dec 12, 2016 11:26 am

^^^ Also, in regards to texture detail the fact that the engine doesn't support normal mapping is in someways a blessing in disguise. Normally modern game engines have to load multiple textures for a single surface, which definitely eats into video RAM. Keeping that and the game's sparse use of textures in mind, I can replace a 256x256 texture in the community hires pack with a 1024x1024 or more image and not sweat it.

If I replace a hires pack texture which is 128x128 with one as high as 2048x2048, I am increasing the possible detail by about 256 times. In many instances, that may actually be well in excess of what the game environment demands.
I muttered 'light as a board, stiff as a feather' for 2 days straight and now I've ascended, ;aughing at olympus and zeus is crying

User avatar
е и ժ е я
Supermod
Posts: 40952
Joined: Sun Aug 18, 2002 1:00 am
Location: I rub my tilde all over your asterisk
Contact:

Post by е и ժ е я » Tue Dec 13, 2016 7:30 pm

Finished the daytime skybox, for the most part. I'm very pleased with how it's come out overall.

Image

Image
I muttered 'light as a board, stiff as a feather' for 2 days straight and now I've ascended, ;aughing at olympus and zeus is crying

User avatar
Apollo the Just
Moderator
Posts: 14497
Joined: Mon Jun 19, 2006 3:37 pm
Location: Piccolo is Gohan's Real Dad
Contact:

Post by Apollo the Just » Tue Dec 13, 2016 7:32 pm

!!!!!ACTUAL LITERAL CLOUDS WTF!!!!!!!
~ * ~ a true gentleman leaves no puzzle unsolved ~ * ~

User avatar
DarkZero
Supporter
Posts: 32101
Joined: Tue Oct 02, 2007 2:15 pm
Contact:

Post by DarkZero » Tue Dec 13, 2016 7:49 pm

very wind waker-y

User avatar
Deku Tree
Moderator
Posts: 11868
Joined: Tue Jun 13, 2000 1:00 am
Location: Texas

Post by Deku Tree » Tue Dec 13, 2016 7:50 pm

So fluffy

User avatar
е и ժ е я
Supermod
Posts: 40952
Joined: Sun Aug 18, 2002 1:00 am
Location: I rub my tilde all over your asterisk
Contact:

Post by е и ժ е я » Tue Dec 13, 2016 8:01 pm

Doing this kind of thing is a bit complicated but worth it. While it's being mapped to the inside of a cube, since the player is always in the same position in relation to it you can correct the distortion approaching the corners of the cube. I did this by modeling the clouds individually, I made a volumetric material shader which controls light dispersal and penetration. I rendered it with a fisheye lens facing upward, it grabs a hemi-sphere image and projects it to a 2D circular shape. Then I took that render, applied it to the inside of an actual hemisphere, and projected that onto a cube by generating an environmental reflection map. Environmental maps record the reflections around the object they are assigned to, so you can bake in reflections to a texture and not have to render it every time you want to re-render a scene with a reflective object. Older games like Super Mario 64 use environment maps to imitate reflection in realtime without having to do anything complex.
I muttered 'light as a board, stiff as a feather' for 2 days straight and now I've ascended, ;aughing at olympus and zeus is crying

User avatar
е и ժ е я
Supermod
Posts: 40952
Joined: Sun Aug 18, 2002 1:00 am
Location: I rub my tilde all over your asterisk
Contact:

Post by е и ժ е я » Tue Dec 20, 2016 9:58 pm

I've mostly finished the sunset skybox, which was a bit more complex because I chose to actually process light shafts and light scattering/absoption in the atmosphere. I used about 5 different methods to render light shafts and scattering in the clouds, and then combined all of them. Unfortunately, I'll have to do the same as before and label each tile for the sunset/sunrise to figure out their relation to one another.
I muttered 'light as a board, stiff as a feather' for 2 days straight and now I've ascended, ;aughing at olympus and zeus is crying

User avatar
Wicked Witch of the Crest
Posts: 3806
Joined: Tue May 04, 2004 1:00 am
Location: Mt. Moon
Contact:

Post by Wicked Witch of the Crest » Mon Jan 02, 2017 10:23 pm

The graphics are so beautiful I'm starting to get blinded!

...Funny part is that I'm not exaggerating here.
What's the matter, scared?

User avatar
е и ժ е я
Supermod
Posts: 40952
Joined: Sun Aug 18, 2002 1:00 am
Location: I rub my tilde all over your asterisk
Contact:

Post by е и ժ е я » Tue Jan 03, 2017 2:31 am

^ Eyes are overrated
I muttered 'light as a board, stiff as a feather' for 2 days straight and now I've ascended, ;aughing at olympus and zeus is crying

User avatar
Bomby
Moderator
Posts: 22755
Joined: Sun Jun 04, 2000 1:00 am
Location: Not sure
Contact:

Post by Bomby » Tue Jan 03, 2017 11:24 am

How Can Mirrors Be Real If Our Eyes Aren't Real?

User avatar
Daos
Posts: 8878
Joined: Sat Apr 20, 2002 1:00 am
Location: Earth

Post by Daos » Tue Jan 03, 2017 5:44 pm

Dang, that is looking good.

User avatar
е и ժ е я
Supermod
Posts: 40952
Joined: Sun Aug 18, 2002 1:00 am
Location: I rub my tilde all over your asterisk
Contact:

Post by е и ժ е я » Wed Jan 04, 2017 8:26 am

New grass textures for Hyrule Field. Here's a comparison.

Vanilla:

Image

New textures, no shaders or model changes:

Image

It may be a bit dark at the moment, we'll see about that. I will also try to add in some of those dry patches that we see in the original, although I don't think I want them to pop out quite so much.

I made the fine grass texture by utilising some perspective trickery, so some blades should look like they're actually upright, at least while it is still, from most angles the player will see it from. A shot like the one in the screen above is near ideal. Also used some color tricks to make the clumps really pop out and look like they have depth. Easiest way to do that without really conflicting with the shading engine is to use colors to indicate direction in 3D. Color one side of the clump more red, the opposite side more blue, and the eye will interpret it as separate light sources. This way you can shade in direction in a neutral fashion that doesn't use shade values as the normal lighting engine does.
I muttered 'light as a board, stiff as a feather' for 2 days straight and now I've ascended, ;aughing at olympus and zeus is crying

User avatar
Bomby
Moderator
Posts: 22755
Joined: Sun Jun 04, 2000 1:00 am
Location: Not sure
Contact:

Post by Bomby » Wed Jan 04, 2017 3:21 pm

Link's eyes are freaking me out.

User avatar
CaptHayfever
Supermod
Posts: 36765
Joined: Tue Jul 16, 2002 1:00 am
Location: (n) - the place where I am
Contact:

Post by CaptHayfever » Thu Jan 05, 2017 4:24 am

Top: A lot of this dirt is green.
Bottom: Hey, look, actual grass!

And remember, "I'm-a Luigi, number one!"

User avatar
е и ժ е я
Supermod
Posts: 40952
Joined: Sun Aug 18, 2002 1:00 am
Location: I rub my tilde all over your asterisk
Contact:

Post by е и ժ е я » Thu Jan 05, 2017 5:54 am

I've done more work on the grass. I added in the dry patches imitating roughly the same pattern in the vanilla texture, changed the color dynamics a bit to make the green more emerald and the dry patches a warmer, more neutral hue. I've also modified the color shaders again.

Here are some screens with current version of the shader:

Image

Image

For the time being I've disabled the depth-buffer access for Reshade as this allows me to enable the frame-buffer and depth-buffer emulation in GLideN64. The benefits of the Ambient Occlusion and other depth-based shaders were not truly apparent enough that they are worth the hit. I will leave the current configuration with the shader to be enabled with a hotkey, if the user prefers them on, but for now I think the benefits of having proper mip-mapping, hardware SSAA, proper anisotropic smoothing, as well as enabling the frame buffer, are much more apparent when the image is moving and the game is actually in use.

The listed procedures in the former sentence actually make the pixel noise from high-detail textures nearly indetectable while keeping distant textures recognisable. The frame-buffer is necessary for models in the inventory to display properly, as the engine is actually converting them to texture via the frame-buffer to combine them with the menu. It may also be used for things like corona lens flares, etc, if they're present in the game.
I muttered 'light as a board, stiff as a feather' for 2 days straight and now I've ascended, ;aughing at olympus and zeus is crying

User avatar
DarkZero
Supporter
Posts: 32101
Joined: Tue Oct 02, 2007 2:15 pm
Contact:

Post by DarkZero » Thu Jan 05, 2017 11:14 am

I know it's still a WIP and all but there's something funny to me about seeing Hyrule Field with a beautiful new sky, lush grass, and ambient shading, and there's low-poly Link plopped in the middle of it

User avatar
е и ժ е я
Supermod
Posts: 40952
Joined: Sun Aug 18, 2002 1:00 am
Location: I rub my tilde all over your asterisk
Contact:

Post by е и ժ е я » Thu Jan 05, 2017 11:26 am

[QUOTE="HarkZero, post: 1617909, member: 34654"]I know it's still a WIP and all but there's something funny to me about seeing Hyrule Field with a beautiful new sky, lush grass, and ambient shading, and there's low-poly Link plopped in the middle of it[/QUOTE]
Yeah, I'm hoping I won't have the worst time in the world importing models, but no telling how well the game will work the rigging for animations and all. I think the model for Link holds up surprisingly well compared to many from the era, but an upgrade would be nice.
I muttered 'light as a board, stiff as a feather' for 2 days straight and now I've ascended, ;aughing at olympus and zeus is crying

User avatar
Cravdraa
Posts: 9333
Joined: Wed May 30, 2001 1:00 am
Location: It's Round on the sides and high in the middle.

Post by Cravdraa » Mon Jan 09, 2017 12:40 am

*sigh*

I see they over fertilized the field again. >_>

User avatar
е и ժ е я
Supermod
Posts: 40952
Joined: Sun Aug 18, 2002 1:00 am
Location: I rub my tilde all over your asterisk
Contact:

Post by е и ժ е я » Thu Jan 19, 2017 6:52 am

More work on the field grass. I did what I could to work with the shapes and rebalance the colors of the original field textures, and balanced the shaders with the color being as vibrant as possible, got the details the right proportions, and now it's time to take that and build what I want with it. Time being I've disabled the color lookup table because it was configured to adjust for the vanilla hues somewhat.

Image

What I intended to accomplish: The original patterning is very uniformly lit, overbright and visually implies a very dry environment. This is about as far as I can take it in the opposite direction. I also worked very hard to break up and shrink the dry grass/dirt patches and make them make a lot more natural. I want to give the impression of a very alive, damp, northerly/mountainous environment where one might find many cliffs and more plantlife.

Contrast-wise, I think this is the right direction. Link stands out better against a darker backdrop. I may be able to bright the scene up a bit, but right now the shaders are darkening the low levels a bit more so without them on the colors will look more neutral as is. These shots have all been with the time of day set to morning, and I will be trying to balance the lighting schema with the colors more through the engine mods and such.

As always, this is a WIP and for my preferences so I'll ask you to please keep that in mind. I don't mind discussing the logic behind my choices overall and if you personally would make different decisions, I would prefer that you state as much in a "If I were making a mod/this mod, I would do X" as that will express your preference as a preference. Thank you for respecting that.

Please do let me know if you like it, and/or what you like about it. If you can express something you see here that you like, I may take that into consideration and emphasize/enhance that feature in a way that makes sense for the project. Cheers, thanks for following!



EDIT: FWIW I've just noticed that my browser and/or the host, Postimage, has apparently loaded the screenshot with a different color profile, making the darks look darker than they should. I'll try and see what the cause is.

EDIT2: The gamma changes are happening in Firefox. Chrome loads the gamma settings properly. For accurate color, view in Chrome.

EDIT3: Fixed the link, should appear correctly now. Postimage was giving me a link to a resized version which did not have a color profile.
I muttered 'light as a board, stiff as a feather' for 2 days straight and now I've ascended, ;aughing at olympus and zeus is crying

User avatar
Apollo the Just
Moderator
Posts: 14497
Joined: Mon Jun 19, 2006 3:37 pm
Location: Piccolo is Gohan's Real Dad
Contact:

Post by Apollo the Just » Sat Jan 21, 2017 1:09 pm

I'm in disbelief that you have made Hyrule Field look like an actual landscape holy wow. It looks very lush, I love it.
~ * ~ a true gentleman leaves no puzzle unsolved ~ * ~

Post Reply

Return to “The Legend of Zelda: See That Mountain?”