Horde3D

Next-Generation Graphics Engine
It is currently 29.09.2024, 04:39

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 02.04.2009, 12:49 
Offline

Joined: 01.11.2008, 11:51
Posts: 12
Location: Croatia
Hi!
I have a model with textures in .tga format with transparency in alpha channel. I've tried all shaders that come with Horde3D and there is no transparency when i import the model. I don't have any experience with GLSL, so i do not know if I'm doing something wrong or the shaders i tried don't support transparency. The same thing happens with bump mapping.

If the standard Horde3D shaders don't support these features, i guess i'll have to start learning GLSL and develop my own shaders. :o


Top
 Profile  
Reply with quote  
PostPosted: 02.04.2009, 15:50 
Offline

Joined: 11.06.2008, 10:34
Posts: 119
They work fine, aslong as you have an alpha channel in your diffuce texture. Alphas on normal maps are normally reserved (in Hordes case) for heightmaps to be used with parallax. Try using the standard surface shader.

_________________

Let's bring 'em out! Any old iron! Any old iron!
A door opens and a homewife brings out a rather sophisticated-looking ground-to-air missile system, and dumps it on the cart.
Thank you.


Top
 Profile  
Reply with quote  
PostPosted: 02.04.2009, 21:25 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
Normal and parallax mapping are supported. You need to enable the flags _F02_NormalMapping or _F03_ParallaxMapping in the material (see for example models/sphere/stones.material.xml). Transparency is currently not directly implemented for models but not difficult to do. Look at the particles for an example.


Top
 Profile  
Reply with quote  
PostPosted: 06.04.2009, 09:09 
Offline

Joined: 01.11.2008, 11:51
Posts: 12
Location: Croatia
I wasn't sure if i was doing something wrong. I'm still rather new with 3D graphic and it has sooo many things to learn, so, thanx for the tips :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group