OpenB3D Normal Maps with DirectLight
BlitzMax Forums/MiniB3D Module/OpenB3D Normal Maps with DirectLight
| ||
I was wondering what is the correct setup for directlight and normal/specularmaps. When I tried to modify the bumpmap example and moving the camera far away, it looks like the lighting is kinda off and object gets darker as oppose to just stay the same brightness since directlight is casted. |
| ||
The bumpmap demo doesn't have a specularmap but bumpmap3 does have code to support that so I should try adding a texture. I tried moving the d-light about 100m away on the z axis and it had little/no effect on bumpmap brightness except for bumpmap2 which doesn't seem to support d-light, even though it does have some code for it. |
| ||
Ok I'll have another try on the bump3 example, thanks munch. |