Search found 4 matches

by RR4
Sun Dec 11, 2005 5:42 am
Forum: PSP Development
Topic: Help with lights
Replies: 8
Views: 3033

Allright, I think I got it now, thanks to your help :)
I didn't realised the angle between the normal and the vertex to light direction was so important. I guess I'll just have to play with the attenuation to get the lighting I want.
Thank you very much :)
by RR4
Sun Dec 11, 2005 12:33 am
Forum: PSP Development
Topic: Help with lights
Replies: 8
Views: 3033

from your post i cannot tell what light type you are using in this code but from those pics it seems you are using a directional light and have you tried to properly set up your light? Oops, sorry for the confusion, I realize it's not quite clear... In fact, I'm using a GU_POINTLIGHT. The type of l...
by RR4
Sat Dec 10, 2005 9:41 am
Forum: PSP Development
Topic: Help with lights
Replies: 8
Views: 3033

Yeah, that's what I thought first, so I tried removing the line with sceGuLightAtt, and use the default attenuation. Without success... Same weird lightning...
I'm not familiar with this attenuation thing, do you have any values I could try?
by RR4
Sat Dec 10, 2005 1:08 am
Forum: PSP Development
Topic: Help with lights
Replies: 8
Views: 3033

Help with lights

Hi, I've been playing with PSPSDK for a few weeks, and I tried making my own scene/models loader. I'm using ASE files I'm converting to binaries that I load with my PSP. But I'm having troubles with lights right now. As it's hard to explain, I took some screenshots to show you. My scene is a room, w...