![]() |
![]() | #1 |
Easy rider Join Date: 11 2005 Location: tristeza Age: 36
Posts: 1,082
Downloads: 0 Uploads: 0
Reputation: 0 | 0 | ![]()
Hello, I'm implementing a simple particle system on Direct3D9 using point sprites, however I'm having a problem building the project on VS.Net 2003. When building under Debug, everything looks fine, just as programmed: ![]() However, when building under Release, the sprites of the particle look as if they are not lit! ![]() I didn't touch the project properties except for adding the libraries. What'd be the problem?
__________________ http://sssilver.googlepages.com/blog...ner_300x30.jpg http://www.hra.am/img/Gulyan1.gif You must spread before giving to Silver again. |
![]() |
![]() | #3 |
Профессор Join Date: 07 2004 Location: Own world Age: 39
Posts: 3,657
Downloads: 22 Uploads: 0
Reputation: 228 | 4 | ![]()
perhaps the way you give the color is somewhat incorrect, so debug version makes the correction but release - obviously doesn't, I am not a D3D guru, and most probably you'll not find a solution here, why not contact with M$ or GameDev, also try to play with colors and see the behaviour.
__________________ I don't like so called friendly chat, so don't bother me if it's not important. Have a nice day. |
![]() |
![]() | #4 |
Easy rider Join Date: 11 2005 Location: tristeza Age: 36
Posts: 1,082
Downloads: 0 Uploads: 0
Reputation: 0 | 0 | ![]()
The problem is, I don't give it any color. Just a TGA texture with an alpha channel, and enable alpha blending and alpha testing. It looks more like the vertices are not lit. ![]() |
![]() |
![]() | #6 |
Easy rider Join Date: 11 2005 Location: tristeza Age: 36
Posts: 1,082
Downloads: 0 Uploads: 0
Reputation: 0 | 0 | ![]()
Well here is my particle fire, built under Debug: http://corner.dark.am/files/debug.rar And built under release: http://corner.dark.am/files/release.rar Ideas? |
![]() |
Sponsored Links |