(Vibrant) Terrain Flats

A curated forum for compatible and maintained mods. Users are unable to create new topics in this forum but can reply to existing topics. Please message a moderator to have your mod moved into this forum area.
Post Reply
User avatar
jman0war
Posts: 315
Joined: Fri Jan 22, 2016 2:41 am
Contact:

Re: Terrain Flats

Post by jman0war »

Actually thinking about it, the two-stage shader with bilinear filtering and fringe rendering would sort of make it redundant to feather the edges at all, wouldn't it?

The hard edges would already be smoothed.
Find my Vibrant Terrain Flats mod at Nexusmods: https://www.nexusmods.com/daggerfalluni ... ?tab=files

User avatar
jman0war
Posts: 315
Joined: Fri Jan 22, 2016 2:41 am
Contact:

Re: Terrain Flats

Post by jman0war »

Actually maybe there is a way to treat textures differently.


Q: My main question is this: is there any way to cause the sprite to change filter modes depending on how large it appears onscreen? (i.e. point at x2 scale and above, bilinear anywhere below that)

Ans: You can set a texture's filter mode programatically.
See: Texture2D.filterMode for an example.

http://answers.unity3d.com/questions/60 ... inear.html
https://docs.unity3d.com/ScriptReferenc ... rMode.html


So food for thought.
Find my Vibrant Terrain Flats mod at Nexusmods: https://www.nexusmods.com/daggerfalluni ... ?tab=files

User avatar
Interkarma
Posts: 7242
Joined: Sun Mar 22, 2015 1:51 am

Re: Terrain Flats

Post by Interkarma »

I would recommend still creating the alpha feathering around sprites. When Daggerfall Unity's image processing classes dilates the incoming classic sprites, it also blends the new edges with surrounding transparent pixels. This gives a kind of aliased feathering effect for free in addition to avoiding the black border. I don't think the modded textures get run through the image processing pipe (and it would be highly non-optimal to do so) so replacement textures risk having black borders without some alpha fringing. In any case, they will look better under a wider range of setups with some feathering than without. :)
jman0war wrote: Ans: You can set a texture's filter mode programatically.
Yep, maybe this is something to approach TheLacus about for his texture replacement system. It should be feasible to add this property to extended material properties XML file.

However - the ability to set filter mode is part of the user's graphics settings. Some users might not appreciate having this change forced on them. Giving mod creators that choice would also require a "lock filter mode" option in graphics settings to prevent mods from overriding user preference. It gets complicated quickly. :)

User avatar
jman0war
Posts: 315
Joined: Fri Jan 22, 2016 2:41 am
Contact:

Re: Terrain Flats

Post by jman0war »

Interkarma wrote:I would recommend still creating the alpha feathering around sprites. When Daggerfall Unity's image processing classes dilates the incoming classic sprites, it also blends the new edges with surrounding transparent pixels. This gives a kind of aliased feathering effect for free in addition to avoiding the black border. I don't think the modded textures get run through the image processing pipe (and it would be highly non-optimal to do so) so replacement textures risk having black borders without some alpha fringing. In any case, they will look better under a wider range of setups with some feathering than without. :)
Thanks, i'll keep doing it and not worry so much.
:)
Find my Vibrant Terrain Flats mod at Nexusmods: https://www.nexusmods.com/daggerfalluni ... ?tab=files

User avatar
jman0war
Posts: 315
Joined: Fri Jan 22, 2016 2:41 am
Contact:

Re: Terrain Flats

Post by jman0war »

511_31
This is the last of the 511 Snow Mountain flats.

So now i will paint snow on the base of the trees that i didn't.
Then i will probably re-cut them out with the same Feather settings.
Then i will provide a download link to this 511 set.
After that i'll work on cutting out the 510 trees with the same Feather settings and upload that set.
So you may not see a new tree painting for bit.

Image
Find my Vibrant Terrain Flats mod at Nexusmods: https://www.nexusmods.com/daggerfalluni ... ?tab=files

User avatar
Interkarma
Posts: 7242
Joined: Sun Mar 22, 2015 1:51 am

Re: Terrain Flats

Post by Interkarma »

Looks amazing! I love the snow base, will make it sit much nicer on the white ground.

User avatar
King of Worms
Posts: 4752
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Terrain Flats

Post by King of Worms »

Yes yes, love the last one, the stylized snow at the top of the boulders + the snow at the bottom, very well done. Thanks for this update and the heads up on your future plans.

User avatar
Jay_H
Posts: 4070
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Terrain Flats

Post by Jay_H »

Really, just having high-quality replacements for scenery makes for a huge step forward in bringing Daggerfall into the modern age. The dedication you're putting in will be very, very worth it.

User avatar
jman0war
Posts: 315
Joined: Fri Jan 22, 2016 2:41 am
Contact:

Re: Terrain Flats

Post by jman0war »

Thanks all,

I've edited the first post of this thread with a dwn load link to 511.SnowMountains
Find my Vibrant Terrain Flats mod at Nexusmods: https://www.nexusmods.com/daggerfalluni ... ?tab=files

User avatar
jman0war
Posts: 315
Joined: Fri Jan 22, 2016 2:41 am
Contact:

Re: Terrain Flats

Post by jman0war »

updated first post to include a download link to 510.Mountains.
I suppose i could put them here too.

511.SnowMountains
https://1drv.ms/u/s!An4TIiBt2x9fgU31f_q4Wi3hyHKb

510.Mountains
https://1drv.ms/u/s!An4TIiBt2x9fgU4eqAwKGAMlqfFt
Last edited by jman0war on Tue May 02, 2017 11:27 pm, edited 1 time in total.
Find my Vibrant Terrain Flats mod at Nexusmods: https://www.nexusmods.com/daggerfalluni ... ?tab=files

Post Reply