Product Chat / Transparency on Characters? (transparent textures or shader)

Author
Message
Duchenkuke
GameGuru VBOTB Developer
8
Years of Service
User Offline
Joined: 7th Jun 2016
Location: Germany
Posted: 29th Aug 2019 14:01
Hi Guys,

How do I make a character like half transparent?
Like... you can see him but only just a little. I tried changing the shaders and adding transparent textures...

Nothing did work. Maybe someone has a solution?
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 29th Aug 2019 14:33
Quote: "How do I make a character like half transparent?"

Remove his legs in blender

Sorry couldnt resist ..
Was this a character Lafette managed to make transparent ?
I havent tried it ..
https://forum.game-guru.com/thread/220474?page=3#msg2618322
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Duchenkuke
GameGuru VBOTB Developer
8
Years of Service
User Offline
Joined: 7th Jun 2016
Location: Germany
Posted: 29th Aug 2019 14:45
Quote: "Remove his legs in blender "




Interesting, hm yea so its possible for sure..
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 29th Aug 2019 16:28
I managed to do it a while back, it wasn't as easy as just making the textures transparent or swtiching a shader, but i can't for the life of me remember how i did it.

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 29th Aug 2019 20:10
Cant you just make it as a glass texture ?
Sort of thing ..
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Duchenkuke
GameGuru VBOTB Developer
8
Years of Service
User Offline
Joined: 7th Jun 2016
Location: Germany
Posted: 29th Aug 2019 20:58
there has got to be a way.. I gotta try around more... will post when I know more
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 29th Aug 2019 23:47 Edited at: 29th Aug 2019 23:48
@ Duchenkuke
I got it using this texture and the character_transparency.fx effect, you will find it in effects> reloaded folder.
Add an alpha channel to its texture, so that it is semi-transparent.
I use gimp, exported the texture as dds, BC3 / DXT5.
Transparency = 3 in the fpe file.
hth

Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

Attachments

Login to view attachments
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 30th Aug 2019 02:26
Oh that looks so cool … Great job !!
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 30th Aug 2019 04:30
@ synchromesh
Glad you like mate.
He is a qualified member of the horror pack.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
Duchenkuke
GameGuru VBOTB Developer
8
Years of Service
User Offline
Joined: 7th Jun 2016
Location: Germany
Posted: 30th Aug 2019 06:46
awesome ! I will try as soon as I can ! Thank you very much 3com!
Duchenkuke
GameGuru VBOTB Developer
8
Years of Service
User Offline
Joined: 7th Jun 2016
Location: Germany
Posted: 30th Aug 2019 09:32
where in the fpe do i have to set "Transparency = 3" ?

I cant seem to get it to work... my character isnt visible at all..
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 30th Aug 2019 09:53
Mine:



Can you post some pic of your char?
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 30th Aug 2019 11:06
This is pretty much how I make my glass textures …
I wasnt so far off after all ..
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Duchenkuke
GameGuru VBOTB Developer
8
Years of Service
User Offline
Joined: 7th Jun 2016
Location: Germany
Posted: 30th Aug 2019 11:16 Edited at: 30th Aug 2019 11:20
a picture? He is invisble... not much to show there
I can show the .fpe if you want tho


Do you have normal map and specular map on that ghost?

edit: I attached the diffuse map I use

and the fle

Attachments

Login to view attachments
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 30th Aug 2019 12:20
Your fpe is fine.
Your texture are too transparent, you need to get semi-transparent texture. otherwise the model becomes invisible.
Had you tried my texture?
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
Duchenkuke
GameGuru VBOTB Developer
8
Years of Service
User Offline
Joined: 7th Jun 2016
Location: Germany
Posted: 30th Aug 2019 13:37
only at the start, let me try again
Gtox
3D Media Maker
10
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 4th Sep 2019 07:10
@3com - does your ghost still work? I had partial transparency work with characters in the past, but now it's either full opacity or full tranpsarency. I tried your ghost fpe and texture with a skinned mesh and it was not transparent. I can only get partial transparency to work with unskinned meshes.
i3 8350k 3GB GTX1060 8GB RAM Windows 10
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 4th Sep 2019 09:27
@ Gtox
Yes, he does, had you tried character_transparency.fx ?
Getting transparency in GG always is a paint.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
Gtox
3D Media Maker
10
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 4th Sep 2019 09:30
Yes, I used your fpe and texture with another model, and it didn't work. Weird. Is your ghost animated?
i3 8350k 3GB GTX1060 8GB RAM Windows 10
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 4th Sep 2019 09:37
Yes, he is animated, although it is a very basic animation, since his only mission is to appear suddenly in the corridors, and cross the walls.


Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
Gtox
3D Media Maker
10
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 4th Sep 2019 09:41
Would you please do me a favour, just for my peace of mind. Copy the masked soldier.x file from the characters folder into your folder with the ghost, and change model target in your ghost.fpe file from 'model = ghost3.X' to 'model = Masked Soldier.X', and see what you get. The attached picture is what I get.
i3 8350k 3GB GTX1060 8GB RAM Windows 10

Attachments

Login to view attachments
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 4th Sep 2019 09:47
@ Gtox
I'm going to try, back with the result, when done.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 4th Sep 2019 10:20
@ Gtox
I believe that at least lately GG relies on the textures assigned via X file instead of the textures declared in the fpe file.
Therefore you have to re-texturize the model, via 3ds max.
In another words, GG is using the original texture, and the grey scale that you are seeing, is only a result of: Transparency = 3 in the fpe file.
I am using the Uber soldier for the example.
Let me know the result.



Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
Gtox
3D Media Maker
10
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 4th Sep 2019 10:40 Edited at: 4th Sep 2019 10:42
I don't think that's the issue. I changed your ghost texture, making the diffuse red, and then set the the bottom half of the alpha channel to an RGB of 100, keeping the top half the same as you had.
What version of GG are you using?
i3 8350k 3GB GTX1060 8GB RAM Windows 10

Attachments

Login to view attachments
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 4th Sep 2019 12:45
Running July update version.
I've sent email to you.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
Gtox
3D Media Maker
10
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 4th Sep 2019 16:48
OK, the ghost you sent works, now I need to figure out why the others don't. Thanks 3com.
i3 8350k 3GB GTX1060 8GB RAM Windows 10
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 4th Sep 2019 18:57
@ Gtox
Glad to help mate.
Even uber soldier does, it is too weird why the others does not.
Maybe a crazy idea, but i think when pbr system for everybody comes to GG, many old meshes, does not react positively.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 4th Sep 2019 20:01
Quote: "OK, the ghost you sent works, now I need to figure out why the others don't."

Are they dead … Makes all the difference

Sorry
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Gtox
3D Media Maker
10
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 5th Sep 2019 05:49
@syncromesh - this is mystifying to me, and I suspect that 3com is using dark magic of some sort.
i3 8350k 3GB GTX1060 8GB RAM Windows 10
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 5th Sep 2019 09:35
Quote: "and I suspect that 3com is using dark magic of some sort."

You have discovered me friend.

The truth is that this pack is a bit particular, I started it, but now he goes for free, there is even a model that refuses to be part of the pack and I have respected his decision, and others who do it without having been included ; You can verify this in the thread of the horror pack.

I've tried differents ways to get Ghost3 behaves as I want to, via script; not success, he want to go/appears/dissappears as/when he want to,
and for me is ok.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 5th Sep 2019 11:00
Have to admit I have tried it myself with no success so far ?
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Gtox
3D Media Maker
10
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 5th Sep 2019 15:47 Edited at: 5th Sep 2019 15:50
3com suggested I use the apbr_animwithtran.fx shader, and that worked. I'm pretty sure I tried it right in the beginning, but something else must have been wrong, so I never persisted.
Thanks 3com!
i3 8350k 3GB GTX1060 8GB RAM Windows 10
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 5th Sep 2019 15:58
Really glad you has sorted out.
After all we get something positive on this thread, it may help others with the same issue.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
Duchenkuke
GameGuru VBOTB Developer
8
Years of Service
User Offline
Joined: 7th Jun 2016
Location: Germany
Posted: 6th Sep 2019 19:05

Login to post a reply

Server time is: 2024-11-23 21:38:18
Your offset time is: 2024-11-23 21:38:18