Community Forum

No more than two lights ?

Forum Overview >> Farming Simulator 2009

CategoryFarming Simulator 2009
Created19.07.2009 16:47


Heady Planet-ls (Headshot XXL) 19.07.2009 16:51
Hello,

there are no more then two lights possible. If i switch the third light on then is there a error in the Log:

Failed to create vertex shader, CG ERROR : The compile returned an error.
Listing: (454) : warning C7011: implicit cast from "float4" to "float2"
(457) : warning C7011: implicit cast from "float4" to "float2"
(941) : warning C7011: implicit cast from "float4" to "float3"
(740) : error C5041: cannot locate suitable resource to bind parameter "vertToEyeVector"
(742) : warning C7050: "Out.texCoords[0]" might be used before being initialized
(742) : warning C7050: "Out.texCoords[1]" might be used before being initialized

Failed to create fragment shader, CG ERROR : The compile returned an error.
Listing: (454) : warning C7011: implicit cast from "float4" to "float2"
(457) : warning C7011: implicit cast from "float4" to "float2"
(941) : warning C7011: implicit cast from "float4" to "float3"
(849) : error C5041: cannot locate suitable resource to bind parameter "vertToEyeVector"

After switch the third light off:

RenderDevice Error: INVALID SHADER CODE


Is there not fixed in LS09?

Stefan Geiger - GIANTS Software 20.07.2009 08:41
This should be working in LS09 with the installed patch 1.1.
What type of lights are these? 2 Spot lights + 1 Directional Light? With shadows turned on?

Is this happening in the game or in the editor? This is only fixed in the editor since v4.1.3. The editor available in the public download area (v4.1.2) does not work with 2 spot lights and 1 directional light.

Heady Planet-ls (Headshot XXL) 20.07.2009 17:12
I have only installed the patch v1.0, because i don't now everything has changed. What was changed from v1.0 to v1.1?

This happening in the game with Detail Mode Very High.
The Tractor has 3 spot lights, individually switchable. Cast Shadowmap for the lights are off but for the Tractor models are on.

Jens Rabmund (jensjcs) 26.06.2010 13:00
i have the same problem, but with installed patch 1.1. it happens ingame and in all detail modes and only at grubber and plough textures. i think, its because the shade uses also the textures culitvator_normal.png and acre_normal.png. there should be changed something in the shader to fix this problem.


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