Sega Saturn Development > General Jo Engine Help
Question about lighting
(1/1)
SaturnTeam:
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?
SaturnTeam:
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.
Navigation
[0] Message Index
Go to full version