Community Forum

Custom shaders, use multiple textures

Forum Overview >> Scripting

CategoryScripting
Created08.08.2009 11:34


Manuel Leithner - GIANTS Software 08.08.2009 11:34
Hi

I want to change a texture on a mesh during runtime. So i had a look on the skyShader. This shader only works with emissiveTextur. My desire is to know the following keywords especially for a normal texture:

CodeInjection:
EMISSIVE_FS

Calculation:
emissiveColor ( i tried ambientColor or diffuseColor but it didn't work :-( )


greetz Face

Christian Ammann - GIANTS Software 08.08.2009 11:41
CodeInjection:
POST_ALBEDO_FS

Overwrite attribute albedo (float4) with your own texture

Cheers


Note: Log in to post. Create a new account here.