Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Transparent Textures

Talk about anything related to Platinum Arts Sandbox here!
Locked
User avatar
dr.tygen
Member
Member
Posts: 23
Joined: August 25th, 2009, 10:04 am

Transparent Textures

Post by dr.tygen »

You know what would be REALLY cool? Having transparent textures (i.e. textures that have transparent parts and solid parts elsewhere, like paint on a glass).
Image

"Fate protects fools, little children, and ships named Enterprise."
--William Riker


Image
offtools
Member
Member
Posts: 125
Joined: June 23rd, 2009, 2:10 pm
Name: offtools
IRC Username: offtools

Re: Transparent Textures

Post by offtools »

2 possibilities:

1. look at village map, hirato does mixing glass material with mapmodels there
2. create a window mapmodel with transparent textures
Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

Re: Transparent Textures

Post by Hirato »

for anything besides grass and models, the alpha channel is read as a specularity map
so if you want transparency, you'll have to do it via transparent textures on grass and models :P
This is not a url, clicking it is pointless
offtools
Member
Member
Posts: 125
Joined: June 23rd, 2009, 2:10 pm
Name: offtools
IRC Username: offtools

Re: Transparent Textures

Post by offtools »

btw: whats visually the difference between normal maps and depth maps?
Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

Re: Transparent Textures

Post by Hirato »

offtools wrote:btw: whats visually the difference between normal maps and depth maps?
filewise, normal maps are quite blue, depth maps, being the alpha channel of a normal map, are grayscale if provided on their own.
rendering wise, normal maps are mainly more detailed lighting, and parallax maps (the depth), provide more detailed lighting plus fakes displacement on the texture, to make it look more "3D"

there's a high chance I'm wrong here :P
This is not a url, clicking it is pointless
siimvuss
Member
Member
Posts: 410
Joined: August 19th, 2009, 1:27 am
Name: S
IRC Username: S
Location: Estonia

Re: Transparent Textures

Post by siimvuss »

Does anyone know how to make doors wich you can only go trough one way? I have seen those in sauerbraten.
User avatar
dr.tygen
Member
Member
Posts: 23
Joined: August 25th, 2009, 10:04 am

Re: Transparent Textures

Post by dr.tygen »

Hirato wrote: you'll have to do it via transparent textures on grass and models :P
How? Please unfold this mystery to me. This is unfamiliar territory...
Image

"Fate protects fools, little children, and ships named Enterprise."
--William Riker


Image
offtools
Member
Member
Posts: 125
Joined: June 23rd, 2009, 2:10 pm
Name: offtools
IRC Username: offtools

Re: Transparent Textures

Post by offtools »

transparent textures are possible with the new cube engine release. so i guess, we have it already in the svn. more info here:
http://sauerbraten.org/docs/history.html
Lemon
Member
Member
Posts: 25
Joined: August 20th, 2010, 9:07 am
Name: Mary

Re: Transparent Textures

Post by Lemon »

Please, tell me, how can i put a 3d model with transparent surfaces into PAS. If i'm going to import a lamp model with a glass plafond, and i need to make the bulb seen behind the glass (i have a model of that kind), what shoud i do?

In fact, a short tutorial is needed...

Happy New Year to All of You!!! :D
Locked