1 registered members (degenerate_762),
1,098
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
shade-c inverted effect default, or glitch?
#450564
04/18/15 01:17
04/18/15 01:17
|
Joined: Apr 2005
Posts: 1,988 Canadian, Eh
DLively
OP
Serious User
|
OP
Serious User
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
|
Hey Guys! Im messing around with shaders right now, and Im looking into shade c to learn some further lite-c / general programming - and also to get the results of this awesome tool! Problem is, when I start it up I get an inverted look to it.. Perhaps someone knows what this glitch is?? It can be seen with your eyes, in video here: Click to change websitesI tried figuring it out myself but it seems to be beyond my scope of knowledge with shade-c at the moment.. I've traced it all the way back to
sc_setup(sc_screen_default);
I've used shade-c in the past and didn't have this problem before. I downloaded what I'm pretty sure is the latest version on github. Click to goto Github Any thoughts?
Last edited by DLively; 04/18/15 01:18.
|
|
|
Re: shade-c inverted effect default, or glitch?
[Re: rojart]
#450612
04/19/15 15:35
04/19/15 15:35
|
Joined: Apr 2005
Posts: 1,988 Canadian, Eh
DLively
OP
Serious User
|
OP
Serious User
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
|
Thanks for your help Guys. @ Alibaba: I changed the skills to lower numbers, and I dont use skill99 after reading the shadec documentation. I've used shade c before, and have been successful with it.. My video card should be able to handle at least the min settings with an Nvidia GeForce G210 1024MB - I know its not a big video card, but it works for now.. Though my pc says I have 2303 MB total available graphics memory... @Rojart: Thanks for your response, I tried your suggestion and have no further luck with it. http://youtu.be/kf9zA9dpmNU
|
|
|
Re: shade-c inverted effect default, or glitch?
[Re: rojart]
#450629
04/19/15 17:58
04/19/15 17:58
|
Joined: Apr 2005
Posts: 1,988 Canadian, Eh
DLively
OP
Serious User
|
OP
Serious User
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
|
Would using the most current version of A8 (8.45.4) be the problem? The above didin't work. I'll try it again with another game Edit: then, If all else fails ill send you a demo I really appreciate your help Rojart!
Last edited by DLively; 04/19/15 18:05.
|
|
|
Re: shade-c inverted effect default, or glitch?
[Re: DLively]
#450630
04/19/15 18:04
04/19/15 18:04
|
Joined: Mar 2012
Posts: 927 cyberspace
Wjbender
User
|
User
Joined: Mar 2012
Posts: 927
cyberspace
|
...removed ... I have no idea how my reply ended up here
Last edited by Wjbender; 04/19/15 19:16.
Compulsive compiler
|
|
|
Re: shade-c inverted effect default, or glitch?
[Re: Wjbender]
#450732
04/21/15 16:16
04/21/15 16:16
|
Joined: Apr 2005
Posts: 1,988 Canadian, Eh
DLively
OP
Serious User
|
OP
Serious User
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
|
The above changes do not be made, so there is no need to alter the fx file. To fix this problem I had to make sure that default.fx and common.h were in my project folder and included to the script - The big problem was that I had not realized I was supposed to add a material to EVERYTHING in the level. So i added mtl_leveldefault, and everything worked great from there You need to look at 07.c shadec sample and have a look at 06_transparent.fx (mtl_carWindow) to see how transparency (alpha channels) is handled.
Last edited by DLively; 04/21/15 16:17.
|
|
|
|