Delgine 3D Tools & Content DeleD Community Edition
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DeleD multitexturing fixed

 
Post new topic   Reply to topic    DeleD Community Edition Forum Index -> DeleD Development
View previous topic :: View next topic  
Author Message
chronozphere
DeleD PRO user


Joined: 20 Jun 2006
Posts: 1010
Location: Netherlands

PostPosted: Sat Mar 20, 2010 6:13 pm    Post subject: DeleD multitexturing fixed Reply with quote

Hey guys

Just found out that the multitexturing functionality in DeleD doesn't work. It doesn't take texture alpha into account and almost always produces the same incorrect result. I'll investigate ASAP.

I've allready fixed this for single texture materials, which you will use 95% of the time. Smile

Edit: picture added containing replace, add, modulate, alphablend.

Back to top
View user's profile Send private message
harper
Member


Joined: 19 Jul 2007
Posts: 283
Location: Hamburg, Germany

PostPosted: Sat Mar 20, 2010 6:32 pm    Post subject: Good news Reply with quote

Good to hear about more funcionality of DeleDs texturing.
By the way, couldn't one add something like reflection to the materials?
But i think, this is a complete other problem....
Back to top
View user's profile Send private message Visit poster's website
chronozphere
DeleD PRO user


Joined: 20 Jun 2006
Posts: 1010
Location: Netherlands

PostPosted: Sat Mar 20, 2010 7:00 pm    Post subject: Reply with quote

Reflection like a mirror requires shaders and complex rendering strategies. It is very hard to integrate it in the sources. Would require a lot of refactoring.

Edit: Vertex transparency also doesn't work. I'll try to fix that too while i'm at it. Smile

Edit2: Vertex transparency DOES work. You only need to use a material with alphablending as blend-mode, which makes perfect sense. Smile
Back to top
View user's profile Send private message
chronozphere
DeleD PRO user


Joined: 20 Jun 2006
Posts: 1010
Location: Netherlands

PostPosted: Sat Mar 20, 2010 8:22 pm    Post subject: Reply with quote

I have just uploaded a patch. Smile

There wasn't much to fix in the end. Only the alpha blending didn't seem to work. However, this is probably the most important blend mode, so people will definitely benefit. Smile

We need to explore the possibilities of multitexturing. I'm sure there are lots!

Edit: Picture. Smile

Left: the Ignore blendmode with vertex colors
The upper row contains replace, add, modulate, alphablend
idem for the lower row with colored vertices.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DeleD Community Edition Forum Index -> DeleD Development All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum