(Vibrant) Terrain Flats
- jman0war
- Posts: 315
- Joined: Fri Jan 22, 2016 2:41 am
- Contact:
Re: Terrain Flats
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.
The hard edges would already be smoothed.
Find my Vibrant Terrain Flats mod at Nexusmods: https://www.nexusmods.com/daggerfalluni ... ?tab=files
- jman0war
- Posts: 315
- Joined: Fri Jan 22, 2016 2:41 am
- Contact:
Re: Terrain Flats
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.
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
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Terrain Flats
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.
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.
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.jman0war wrote: Ans: You can set a texture's filter mode programatically.
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.
- jman0war
- Posts: 315
- Joined: Fri Jan 22, 2016 2:41 am
- Contact:
Re: Terrain Flats
Thanks, i'll keep doing it and not worry so much.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.
Find my Vibrant Terrain Flats mod at Nexusmods: https://www.nexusmods.com/daggerfalluni ... ?tab=files
- jman0war
- Posts: 315
- Joined: Fri Jan 22, 2016 2:41 am
- Contact:
Re: Terrain Flats
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.
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.
Find my Vibrant Terrain Flats mod at Nexusmods: https://www.nexusmods.com/daggerfalluni ... ?tab=files
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Terrain Flats
Looks amazing! I love the snow base, will make it sit much nicer on the white ground.
- King of Worms
- Posts: 4753
- Joined: Mon Oct 17, 2016 11:18 pm
- Location: Scourg Barrow (CZ)
- Contact:
Re: Terrain Flats
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.
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
- Jay_H
- Posts: 4072
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
Re: Terrain Flats
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.
- jman0war
- Posts: 315
- Joined: Fri Jan 22, 2016 2:41 am
- Contact:
Re: Terrain Flats
Thanks all,
I've edited the first post of this thread with a dwn load link to 511.SnowMountains
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
- jman0war
- Posts: 315
- Joined: Fri Jan 22, 2016 2:41 am
- Contact:
Re: Terrain Flats
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
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