Shaders,. . passing a bitmap?
Posted: Fri Oct 03, 2008 6:05 pm
I was working on learning more about how the shaders function and what we can do with them in ZGE, and have some questions,. .
With the current implementation can a shader link to more bitmaps than the single one selected in the material?
I was trying to get an enviro-map working however I am not sure I can use a cubemap,. ? This ability would be usefull for many things, like haveing a texture, and a bumpmap, or alphamap, etc. However it apears to me that the material is what determines the bitmap the shader can access,. is this correct?
also i attached the closest I have come to getting a nice crome effect with out a texture,. looks more like shinny plastic perhaps,. . just for interest.
With the current implementation can a shader link to more bitmaps than the single one selected in the material?
I was trying to get an enviro-map working however I am not sure I can use a cubemap,. ? This ability would be usefull for many things, like haveing a texture, and a bumpmap, or alphamap, etc. However it apears to me that the material is what determines the bitmap the shader can access,. is this correct?
also i attached the closest I have come to getting a nice crome effect with out a texture,. looks more like shinny plastic perhaps,. . just for interest.