Skip to main content
gamedev.net
🔒 Locked

Minimal code to render objects with lightmaps

Started by aminouch 1 reply 550+ views
Original Post
aminouch
aminouch
Hi, I''m looking for some concrete code to set up and render a scene with lightmaps.. I''ve tried to add a lightmap to a cube, with a texture that have alpha transparency by playing on the SetTextureStageState(0, D3DTSS_COLOROP, /* some stuff here */) but I always get unexpected results. Do I need to use different texture stages for each of the lightmap and the normal texture? plz hlp (don''t tell me to take a look at the samples of the dx8 SDK ''cause I have only a partial version of the SDK with no samples!) amine http://aminouch.tripod.com
mine from morocco
aminouch
aminouch
ok crazedgenius, I''m ok with yo about the fact that having the SDK is a must, but can''t you just send me the famous sample that you talked about by email? it will be really great if you do that and will save me a lot of time.
thanks,
amine
http://aminouch.tripod.com
mine from morocco

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.