get shader props via variable 2004-01-30 - By Berndt Garbotz
Back Hi,
I think we tried this ealier ... maybe there is a way ... wanted to store a shaders props into a property list and reset its Props later.
tried ...
me.pCharacterShaderStore = \ [ #name: void, #texture: void, #textureMode: void, #textureModeList: void, #texturetransform: void,\ #textureTransformList: void, #textureRepeat: void, #blendFunction: void, #blendFunctionList: void, #blendSource: void,\ #blendSourceList: void, #blendConstant: void, #opacityMap: void, #reflectionMap: void, #glossMAp: void, #diffuseLightMap: void,\ #specularLightMap: void, #blend: void, #transparent: void, #flat: void, #renderStyle: void, #shininess: void,\ #emissive: void, #ambient: void, #diffuse: void, #specular: void, #useDiffuseWithTexture: void]
then fill my list but seemed to be impossible with a variable.
me.pCharacterShaderStore[prop] = charaShd[prop] // tried different ways.
No way? Can't do that way???
Have a nice Weekend
Berndt
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|