Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 863 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
looking for a simple translucent shader (for blocks) #363329
03/12/11 09:42
03/12/11 09:42

M
mercuryus OP
Unregistered
mercuryus OP
Unregistered
M



looking for a simple translucent shader (for blocks)

can you help?

Re: looking for a simple translucent shader (for blocks) [Re: ] #363573
03/13/11 14:07
03/13/11 14:07
Joined: Feb 2011
Posts: 9
NanNing, Guangxi, China
S
SYJ Offline
Newbie
SYJ  Offline
Newbie
S

Joined: Feb 2011
Posts: 9
NanNing, Guangxi, China
You can set TRANSPARENT and ALPHA to entity.

Re: looking for a simple translucent shader (for blocks) [Re: SYJ] #363581
03/13/11 14:37
03/13/11 14:37

M
mercuryus OP
Unregistered
mercuryus OP
Unregistered
M



yes that worls but throws no static shadows a block does.
And you can assign a material to a block - e.g. a translucent shader.

Re: looking for a simple translucent shader (for blocks) [Re: ] #363646
03/13/11 20:31
03/13/11 20:31
Joined: Jul 2010
Posts: 974
United Arab Emirates, Dubai
TheShooter Offline
User
TheShooter  Offline
User

Joined: Jul 2010
Posts: 974
United Arab Emirates, Dubai
Just write an translucent action. But I guess, it will not cast a shadow, I guess.


Staub ist das neue Prime!!

Programming is like sex:
One mistake and you have to support it for the rest of your life.

Aktuelles Projekt: http://thisiswargame.bplaced.net/index.html

A8 Commercial *freu*
Re: looking for a simple translucent shader (for blocks) [Re: TheShooter] #363650
03/13/11 21:03
03/13/11 21:03
Joined: Mar 2003
Posts: 1,095
Germany
nightshade Offline
Serious User
nightshade  Offline
Serious User

Joined: Mar 2003
Posts: 1,095
Germany
In the pixel shader adjust the Color.a value to your needs befor returning it.

Re: looking for a simple translucent shader (for blocks) [Re: nightshade] #363674
03/13/11 23:14
03/13/11 23:14

M
mercuryus OP
Unregistered
mercuryus OP
Unregistered
M



???? - you confuse me wink
-can't assign an action as materil to a block.

say what??? laugh (could you give an example please.)
-"In the pixel shader adjust the Color.a value to your needs befor returning it."


Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1