Hi Hummel,
leider bekomme ich ein Error, wenn ich Lightfrog in mein Projekt eibinden möchte. Ich binde es folgenermaßen ein:
Code:
#include <acknex.h>
#include <default.c>
#include "Lightfrog.h"

function main()

video_switch(12,32,1);
shadow_stencil = 4; //Beschleunigte Z-fail schatten
mat_shadow.alpha = 75; // Transparenz der Schatten
stencil_blur(1); // Verwischen der Schatten

level_load(Contact2.WMB);
LF_INI();
LF_init_pipeline(camera); 

............



Die Errormessage ist folgene:
Error in 'LightFrog/scripts\lf_main.c' line 109;
'PP_newMtl' undeclared identifier
< mtlDeferredLightingPP=PP_newMtl("ppFX_DeferredLighting.fx",bRT_Color,vwRenderLights-
<bmap,bRT_NormalBuffer,NULL);
>
...0.861 sec
Error compiling CONTACT.C
Error E355: Startup failure -any key to abort

Woran kann das denn liegen???


Staub ist das neue Prime!!

Programming is like sex:
One mistake and you have to support it for the rest of your life.

Aktuelles Projekt: http://thisiswargame.bplaced.net/index.html

A8 Commercial *freu*