Product Chat / Transparency edges

Author
Message
Team wolf
7
Years of Service
User Offline
Joined: 26th Dec 2016
Location:
Posted: 14th Jan 2017 21:04
i have this outline in my transparency edges it also occurs on the build in trees of gameguru

Attachments

Login to view attachments
PM
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 14th Jan 2017 22:03
I think, I've reported this "bug" 2014... lol
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 15th Jan 2017 19:37
You get the same thing in DB Programs. Been in Guru since it was Reloaded unfortunately. That pictures not too bad compared to some effects you can get with this. Probably be around until we get a DX11 update (if we do of course).


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 16th Jan 2017 09:14
You think it's not possible to remove that ugly effect at the actual dx9 build...
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 18th Jan 2017 18:49
I don't see any reason why it is there in the DX9 build, I'm sure DX9 can avoid this, but, it has always been there in DP Pro, and thus Game Guru. DB Pro came out in well early 2000's, the bug is still there. I complained about this when Reloaded was new and just out the door, as I recognised the horrid effect pretty quickly as the same as in DB. Never been fixed, as you can see. There was a bit of work done on transparencies awhile back I seem to remember, but there are still issues here and there. Perhaps the trees need their FPE's updating? You would imagine that would be done with any new fixes, but it could have been missed.

There's several new transparency flags than there was to begin with, maybe changing to one of the newer ones will fix it?


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 19th Jan 2017 11:32
A little kudos prize for anyone who can tell me what that effect is caused by A performance friendly solution is called Order Independent Transparency but it was not widely supported by graphics cards of the day. These days I think every card has it built-in but there is a cost to using this (i.e. no MSAA style techniques).
PC SPECS: Windows 8.1 Pro 64-bit, Intel Core i7-5930K (PASSMARK:13645), NVIDIA Geforce GTX 980 GPU (PASSMARK:9762) , 32GB RAM

Preben
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 19th Jan 2017 13:56 Edited at: 19th Jan 2017 13:57
I take the prize

This will always happen in any engine when you use a transparent tree shader , think about it this way , the polygons in the tree mesh is NOT sorted so when you draw a polygon nearest to you the player. There is NOTHING behind only the skybox , so transparent areas in this polygon WILL get the skybox colors. So it depends on the draw order of the polygons how it will look , its a thing that cant be fixed using this type of shader.

in GG Loader my tree shader use a alpha mask instead , this means the tree object do not have any transparency so its really fast , and use a alpha-mask , well i reused the alpha values that are already in the tree textures anyway , so mainly you just discard pixels with a lower alpha value.

If you look at the screenshot you see there is no transparent areas in the tree, so it will always work correctly.

This will work on all tress in GG , i have already tried all of them in GG Loader, using the same media

If i get some time i will see if i can convert one of my tree shaders to GG
best regards Preben Eriksen,

Attachments

Login to view attachments
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 19th Jan 2017 14:53
Preben, that would be great, trees without that annoying skybox effect... Thanks in advance.
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 19th Jan 2017 16:25
Isn't it great having a friendly generous shader expert about the place
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 19th Jan 2017 16:31
it sure is, Preben is awesome
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
FPSC to GameGuru Tools: SegAutoWelder, Entity+Weapon Welder
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 19th Jan 2017 21:41
wow, I was waiting for this 2+ years...
the trees look great now (none default trees, from BSP tree pack)
thanks!

shader update available in lees v1.14 progress post on top
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?

Attachments

Login to view attachments
PM
Preben
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 20th Jan 2017 13:38
Early tree shader test using alpha masking, no outlines in edges
best regards Preben Eriksen,

Attachments

Login to view attachments
granada
Forum Support
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 20th Jan 2017 13:59
Just gets better .

Dave
Windows 10 Pro
GeForce GTX 1050 Ti
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
1920x1080,60 Hz
PM
Preben
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 21st Jan 2017 12:08
Morning Mountain Stroll , screenshot before and after , nothing done other then changing to new tree shader.

Top image is before , with ugly outlines of the background/fog.

I only got a 15% FPS increase changing this to non alpha tree shader , im kind of disappointed about this as in opengl i normally get a mush better boost , think i need to work more on this , perhaps something else can be done in HLSL ? Well at least you can have 15% more trees without a fps drop , and it look so mush better.





best regards Preben Eriksen,

Attachments

Login to view attachments
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 21st Jan 2017 14:14
Quote: "Well at least you can have 15% more trees without a fps drop"


ZOMG GIFV GIFV!!!

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
Earthling45
7
Years of Service
User Offline
Joined: 3rd Sep 2016
Location: Zuid Holland Nederland
Posted: 21st Jan 2017 15:41 Edited at: 21st Jan 2017 15:42
Hi Preben, that certainly looks a lot better.
Tree 02 is set to make use of the character_basic.fx in the FPE, to which shader should we set it? or is this the shader setting ok?
Emrys
10
Years of Service
User Offline
Joined: 4th Nov 2013
Location: UK
Posted: 21st Jan 2017 20:53
You're a star Preben

Have you added that donate button yet?
PM
Mouaa
User Banned
Posted: 21st Jan 2017 21:05
Hi Preben,

It is possible to get some trensluency effect ?
Is shader usable on grass also ?
Preben
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 25th Jan 2017 17:32
Quote: "Tree 02 is set to make use of the character_basic.fx in the FPE"


I have edited ALL Foliage ( tree / flowers .... ) FPE files so they work with the new tree shaders ( animated and static ) , also changed the foliage from the mega packs , so you just copy the new fpe files into your foliage folder and your running ( included in the zip ).

If you have any custom trees you need to edit the fpe yourself , but you just replace character_basic.fx with treea_basic.fx. There is also a shader for non animated tress: tree_basic.fx.

Quote: "
It is possible to get some trensluency effect ? "


Not in this tree shader.

Quote: "
Is shader usable on grass also ?"


Not on any default GG grass it need alpha to fade away in the distance.

But it works fine on any custom objects like flowers/grass/bush/hedge/ ... objects that are included in the foliage folder.

I only found 1 tree that the new shaders did not work correctly on , thats a oak tree in the mega pack 3 , it include multiply textures so GG is using the wrong shader.

Quote: "Have you added that donate button yet?"


Sure did , and i really appreciate you want to support the work

http://www.daily3d.com/product/support-gameguru-shader-work

BTW: The first version of the tree shaders is already available to people that have an support account ( or GG Loader account ). Remember to create an account if you Donate, that way you will always have access to all the latest

best regards Preben Eriksen,
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 25th Jan 2017 17:42
Thanks Preben - much appreciated. Looking forward to trying these out.

Cheers.
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 1st Feb 2017 20:00
The bug is back with v1.14 but only with the trees from the BSP tree pack hmmm...
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 1st Feb 2017 20:18
If I remember right the tree fixes didn't make it into the release, you need to download prebens shaders from his site or the lu k he posted in his thread.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 1st Feb 2017 21:11
ok copied the gameguru-shaders1076.zip files ...
but still some of the bsp spruce trees have transparent edges where u see the sky in the background...
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 1st Feb 2017 21:53 Edited at: 1st Feb 2017 21:57
Have you added the line preben specified in BSP's tree fpe's?

Quote: "If you have any custom trees you need to edit the fpe yourself , but you just replace character_basic.fx with treea_basic.fx. There is also a shader for non animated tress: tree_basic.fx."


BSP's trees are custom trees.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 1st Feb 2017 22:47 Edited at: 1st Feb 2017 23:01
Those 2 files are not included in the gameguru-shaders1079.zip file which came from preben's post.
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 1st Feb 2017 23:01
That would be why then, the tree fix wasn't included in the release, you need to get those fx files from preben, if you have an account on his website you should be able to download them from your account page.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 2nd Feb 2017 00:03
hmmm... I hope sooner or later it will be included official in GG.
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
Preben
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 7th Feb 2017 06:38
The new tree shaders are now included in the "public preview" , including changes to all default fpe files

So just steam,download and enjoy! no changes needed

If you use custom tress like "BSP tree pack" you will need to edit the fpe files yourself, but you mainly do this:
If the fpe file use:
character_basic.fx
change it to:
treea_basic.fx

If the fpe file use:
entity_basic.fx
change it to:
tree_basic.fx



best regards Preben Eriksen,
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 7th Feb 2017 11:30 Edited at: 7th Feb 2017 11:31
But the BSP tree pack had no animated trees, so I used yesterday only the tree_basic.fx
Works fine and looks great now

The new clean look gave me some extra motivation, thanks.
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM

Login to post a reply

Server time is: 2024-07-05 12:06:53
Your offset time is: 2024-07-05 12:06:53