Sega Saturn Development > General Jo Engine Help

Question about lighting


Is there a way to set a global light source (i.e. the sun), rather than having to set it for every object?
EDIT: Right now, I have the light source available globally, but I have to include every object in effects in order to make the light shine on them. It's three lines per item.
Should I just use gouraud shading?

UPDATE: I have solved this. You have to mention each object, under effects, that you want to be lit. The only thing I haven't solved is getting drawn cubes to be lit. I came up with error-free code for the latter, but it still won't allow itself to be lit. I'll post a tutorial on lighting.


[0] Message Index

Sitemap 1 2 3 4 5 6 7 8 9 10 
Go to full version