| =728; =90; ?> | ||||||||||||||
|
||||||||||||||
|
|
=172; =90; ?> | ||||||
| Register | FAQ | Forum Rules | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#124 (permalink) |
|
Amateur Artist
|
Hey, I keep losing this thread, had to find one of doyles posts, (there's new categories right?)
question, I'm using planes for some low res hair, I have the shader applied and transparency working by adding the alpha to my targa. Just wondering if I can have 2 sided faces? I cant see a box for it, also its nothing to do with the transparency, with the shader I cant see any backfaces/2sided faces. I could work around it with applying a different shader for hair, just wondering if I was doing something wrong, ^_^; thanks! |
|
|
|
|
|
#126 (permalink) |
|
Amateur Artist
|
i know i could do that, was just thinking the option would be nice to have. ^_^;
perhaps 2 sided could be added to the next version of the shader. Also, doylle, is the shader code written or are you using a program for it? I have questions about transparency and where that is in your code... the manual for the program I use tells me to put transparency it in the technique part of my code, but I have to replace all that to export to engine. Hmm Idea, just open your shader and read the code (urg I'm such a idiot). Yep just looked, AlphaBlendEnable = true; in the technique, hmm I'll have to check on monday at work. I'd still like to know if you're writing it or using a program, definatley looks written in code, I can tell by the comments, shader packages spit cgfx out without such helpful comments cheers!Last edited by Addi; 31-01-2009 at 10:19 PM. |
|
|
|
|
|
#127 (permalink) |
|
Industry Artist
|
Yea, the two sided polys don't work in the current released version. That will be fixed in the next update.
Although there are some of programs that can create FX files for you, i prefer to write them in notepad. I want to know exactly what's going on. As for the alpha blending, yea, don't forget to set it in your technique ![]() cheers |
|
|
|
|
|
#128 (permalink) |
|
Senior Member
|
You could create a second technique with "cullmode=none". That way your shader will be drawn 2-sided.
You're gonna have some problem with the transparency draw order though, Addi. Certain polygons might occlude each other and so, not much you can do about that.
__________________
|
|
|
|
|
|
#130 (permalink) |
|
Game Art Student
|
Hey, I have a quick question for you.
Does the shader support double sided faces? and if yes, how do I use it? ![]() The fins on my little fish are planes and I want them to be visible on both sides. (they are for a game, but it would be cool if I can view them in the viewport while working on them)
__________________
"Without geometry, life is pointless." Last edited by Tom; 09-02-2009 at 11:11 AM. |
|
|
|
![]() |
| Bookmarks | |||
Digg
|
del.icio.us
|
StumbleUpon
|
Google
|
| Thread Tools | |
| Display Modes | |