16
Modding / Re: FH2 Modding Q&A
« on: 05-07-2018, 19:07:24 »
It worked. Thanks.
Is it usual that I get bombarded with the error
"Could not find valid technique for the shader" while lightmapping the objects? It is mildly unsettling. I know the editor loves giving all kinds of errors in the console, but I can't remember seeing this when I lightmapped last time.
I have installed the lightsamples of both fh2 and regular bf2 in the bf2editor folder.
EDIT: Seems to have worked anyway. Fenring's guide to lightmapping is flawed btw. Setting a light preset resets the sun direction to North. Light preset should be set, then sun direction should be set after. I learned. Painfully.
EDIT 2: On closer inspection I see that a lot of the shadows are wrong and twisted, so I think there is something wrong.
Is it usual that I get bombarded with the error
"Could not find valid technique for the shader" while lightmapping the objects? It is mildly unsettling. I know the editor loves giving all kinds of errors in the console, but I can't remember seeing this when I lightmapped last time.
I have installed the lightsamples of both fh2 and regular bf2 in the bf2editor folder.
EDIT: Seems to have worked anyway. Fenring's guide to lightmapping is flawed btw. Setting a light preset resets the sun direction to North. Light preset should be set, then sun direction should be set after. I learned. Painfully.
EDIT 2: On closer inspection I see that a lot of the shadows are wrong and twisted, so I think there is something wrong.