Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

is there any difference between diffuse texture which used in diffuse lighting and ambient occlusion map, or this is the same texture just different naming, because i see it mostly it looked the same?

share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

The diffuse texture is the colour of the object without light effects. The ambient occlusion texture is a map that shows the shadows on an object if it was evenly lid from all sides (basically it tells us how much a factor ambient light should be on each position). You can also do ambient occlusion real-time, but that's more expensive.

Sometimes the diffuse texture and ambient texture are combined in one texture.

share|improve this answer
add comment

Yes. A "diffuse texture" is generally just a flat, plain color map. It's one of the oldest kinds of texture map still in widespread use today. An ambient occlusion texture map takes into account local effects of light sources (and is usually just comprised of magnitudes, not actual colors).

The Wikipedia page on AO has an image that illustrates the difference visually.

share|improve this answer
    
+1 we have the same answer (you where 20 seconds faster though :) ) –  Roy T. Jun 30 '11 at 15:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.