Results 1 to 10 of 10

Thread: Shadow Problems in OpenGL | Forums

  1. #1
    When iuse openGL my shawows are scrwed up..this is how it loks like

    Reply With Quote Reply With Quote

  2. #2
    Post a copy of your config file. I had shadows like that at one time, but I can't remember how I fixed it.
    Reply With Quote Reply With Quote

  3. #3
    [il2]
    title=Il2-Sturmovik Forgotten Battles
    hotkeys=HotKey game

    [window]
    width=1152
    height=864
    ColourBits=32
    DepthBits=24
    StencilBits=8
    ChangeScreenRes=1
    FullScreen=1
    DrawIfNotFocused=0
    EnableResize=0
    EnableClose=1
    SaveAspect=1
    Use3Renders=0

    [GLPROVIDER]
    GL=Opengl32.dll

    [GLPROVIDERS]
    Open GL=Opengl32.dll
    DirectX=dx8wrap.dll

    [NET]
    speed=25000
    routeChannels=0
    serverChannels=31
    localPort=21000
    remotePort=21000
    SkinDownload=1
    serverName=Ha!
    serverDescription=
    remoteHost=
    localHost=
    socksHost=
    checkServerTimeSpeed=1
    checkClientTimeSpeed=0

    [MaxLag]
    farMaxLagTime=10.0
    nearMaxLagTime=2.0
    cheaterWarningDelay=5.0
    cheaterWarningNum=-1

    [chat]
    region=(dx=0.6925,dy=0.071666665,x=0.0,y=0.0)

    [game]
    Arcade=0
    HighGore=0
    mapPadX=0.6692708
    mapPadY=-0.046296295
    viewSet=33
    Intro=0
    NoSubTitles=0
    NoChatter=0
    NoHudLog=0
    NoLensFlare=0
    iconTypes=3
    eventlog=eventlog.lst
    eventlogkeep=0
    3dgunners=1


    [HotKey game]
    PrintScreen=ScreenShot
    P=pause
    Pause=pause

    [HotKey gui]
    Escape=activate

    [HookViewFly Config]
    timeFirstStep=2.0
    deltaZ=10.0

    [HookView]
    MouseLeft=Len

    [HookView Config]
    AzimutSpeed=0.1
    TangageSpeed=0.1
    LenSpeed=1.0
    MinLen=1.0
    DefaultLen=20.0
    MaxLen=3000.0
    Speed=6

    [HotKey builder]
    MouseLeft=objectMove
    MouseRight=popupmenu
    Enter=freeView
    Shift MouseLeft=worldZoom
    Alt MouseLeft=select+
    Alt MouseRight=select-
    Alt Ctrl=unselect
    PageDown=change+
    PageUp=change-
    End=change++
    Home=change--
    Ctrl MouseLeft=insert+
    Insert=insert+
    NumPad-0=insert+
    F=fill
    Ctrl MouseRight=delete+
    NumPad.=delete+
    Delete=delete+
    Backspace=cursor
    Tab=cursor
    F10=land
    F11=onLand
    NumPad-=normalLand
    NumPad+=toLand
    NumPad-5=resetAngles
    NumPad-8=resetTangage90
    NumPad-7=stepAzimut-5
    NumPad-4=stepAzimut-15
    NumPad-1=stepAzimut-30
    NumPad-9=stepAzimut5
    NumPad-6=stepAzimut15
    NumPad-3=stepAzimut30

    [MouseXYZ]
    F1=SpeedSlow
    F2=SpeedNormal
    F3=SpeedFast
    MouseRight=XYmove
    F4 MouseRight=Zmove
    MouseMiddle=Amove
    F5 MouseRight=Amove
    F6 MouseRight=Tmove
    F7 MouseRight=Kmove

    [MouseXYZ Config]
    RealTime=1

    [HotKey Console]
    Shift Tab=Activate
    [Console]
    HISTORY=1024
    HISTORYCMD=1024
    LOAD=console.cmd
    SAVE=console.cmd
    LOG=0
    LOGTIME=0
    LOGFILE=log.lst
    LOGKEEP=0

    [sound]
    SoundUse=1
    SoundEngine=1
    Speakers=0
    Placement=0
    SoundFlags.reversestereo=0
    RadioFlags.Enabled=1
    RadioEngine=2
    MusicVolume=8
    ObjectVolume=14
    MusState.takeoff=1
    MusState.inflight=1
    MusState.crash=1
    MusFlags.play=1
    MasterVolume=14
    Attenuation=7
    SoundMode=1
    SamplingRate=2
    NumChannels=2
    SoundExt.occlusions=0
    SoundFlags.hardware=1
    SoundFlags.streams=1
    SoundFlags.duplex=1
    SoundExt.acoustics=0
    SoundExt.volumefx=0
    SoundFlags.voicemgr=0
    SoundFlags.static=1
    VoiceVolume=12
    Channels=2
    SoundExt.extrender=0
    SoundFlags.bugscorrect=0
    SoundSetupId=8
    ActivationLevel=0.02
    Preemphasis=0.85
    RadioLatency=0.5
    AGC=1
    PTTMode=1
    SoundFlags.UseRadioChatter=0
    SoundFlags.AutoActivation=0
    RadioFlags.PTTMode=0
    RadioFlags.PlayClicks=0
    ActLevel=0
    MicLevel=0
    SoundFlags.forceEAX1=0

    [rts]
    ;ProcessAffinityMask=1
    mouseUse=2
    joyUse=1
    trackIRUse=1
    DisableIME=0
    locale=

    [rts_mouse]
    SensitivityX=1.0
    SensitivityY=1.0
    Invert=0

    [rts_joystick]
    X=0 1 4 9 16 25 36 49 64 81 100 0
    Y=0 1 4 9 16 25 36 49 64 81 100 0
    Z=0 10 20 30 40 50 60 70 80 90 100
    RZ=0 10 20 30 40 50 60 70 80 90 100 0
    FF=0
    U=0 10 20 30 40 50 60 70 80 90 100 0
    V=0 10 20 30 40 50 60 70 80 90 100 0

    [Render_DirectX]
    TexQual=3
    TexMipFilter=2
    TexCompress=0
    TexFlags.UseDither=1
    TexFlags.UseAlpha=0
    TexFlags.UseIndex=0
    TexFlags.PolygonStipple=1
    TexFlags.UseClampedSprites=0
    TexFlags.DrawLandByTriangles=1
    TexFlags.UseVertexArrays=1
    TexFlags.DisableAPIExtensions=0
    TexFlags.ARBMultitextureExt=1
    TexFlags.TexEnvCombineExt=1
    TexFlags.SecondaryColorExt=1
    TexFlags.VertexArrayExt=1
    TexFlags.ClipHintExt=0
    TexFlags.UsePaletteExt=0
    TexFlags.TexAnisotropicExt=0
    TexFlags.TexCompressARBExt=1
    TexFlags.TexEnvCombine4NV=0
    TexFlags.TexEnvCombineDot3=0
    TexFlags.DepthClampNV=0
    TexFlags.SeparateSpecular=0
    TexFlags.TextureShaderNV=0

    HardwareShaders=0

    Shadows=1
    Specular=2
    SpecularLight=2
    DiffuseLight=2
    DynamicalLights=1
    MeshDetail=2
    VisibilityDistance=3

    Sky=2
    Forest=2
    LandShading=3
    LandDetails=2

    LandGeom=2
    TexLarge=1
    TexLandQual=3
    TexLandLarge=1

    VideoSetupId=2
    ForceShaders1x=0
    PolygonOffsetFactor=-0.0625
    PolygonOffsetUnits=-1.0
    Water=1
    Effects=1

    [Render_OpenGL]
    TexQual=3
    TexMipFilter=2
    TexCompress=0
    TexFlags.UseDither=1
    TexFlags.UseAlpha=0
    TexFlags.UseIndex=0
    TexFlags.PolygonStipple=1
    TexFlags.UseClampedSprites=0
    TexFlags.DrawLandByTriangles=1
    TexFlags.UseVertexArrays=1
    TexFlags.DisableAPIExtensions=0
    TexFlags.ARBMultitextureExt=1
    TexFlags.TexEnvCombineExt=1
    TexFlags.SecondaryColorExt=1
    TexFlags.VertexArrayExt=1
    TexFlags.ClipHintExt=0
    TexFlags.UsePaletteExt=0
    TexFlags.TexAnisotropicExt=1
    TexFlags.TexCompressARBExt=1

    TexFlags.TexEnvCombine4NV=1
    TexFlags.TexEnvCombineDot3=1
    TexFlags.DepthClampNV=1
    TexFlags.SeparateSpecular=1
    TexFlags.TextureShaderNV=1

    HardwareShaders=1

    Shadows=1
    Specular=3
    SpecularLight=2
    DiffuseLight=2
    DynamicalLights=1
    MeshDetail=2
    VisibilityDistance=3

    Sky=1
    Forest=0
    LandShading=3
    LandDetails=2

    LandGeom=2
    TexLarge=1
    TexLandQual=3
    TexLandLarge=1

    VideoSetupId=17
    Water=2
    Effects=2
    ForceShaders1x=0
    PolygonOffsetFactor=-0.15
    PolygonOffsetUnits=-3.0
    Reply With Quote Reply With Quote

  4. #4
    The only thing I notice different than mine is the TexFlags.PolygonStipple=1 . I have 0. If I remember right it was one of the settings in IL2setup under the video tab that changed to fix the shadows.
    Reply With Quote Reply With Quote

  5. #5
    Senior Member x6BL_Brando's Avatar
    Join Date
    Dec 2003
    Posts
    5,037
    Hi Nightwolf

    It would really help to know what graphics card and drivers you are using!

    Run a dxdiag, save the result, and copy/paste it here.

    B
    Reply With Quote Reply With Quote

  6. #6
    Under your OpenGL section change
    Shadows=1 to Shadows=2
    [EDIT: Tried with 1 to reproduce - did not work, so it's probably something else.

    Independent Dutch ISP's/Network Forums


    [url=http://yhst-12000246778232.stores.yahoo.net/ilst19.html]1946 @ NWS Onli
    Reply With Quote Reply With Quote

  7. #7
    i was playin around with my openGl conf and it fixed it..
    Reply With Quote Reply With Quote

  8. #8
    What setting did it?
    Reply With Quote Reply With Quote

  9. #9
    i think Shadows= 3 or 4
    Reply With Quote Reply With Quote

  10. #10
    Did you check if shadows= stayed on values 3 or 4 ? If set too high values will revert to the maximum possible when you exit the game. Shadows=2 will produce shadows for smoke stacks etc.

    Independent Dutch ISP's/Network Forums


    [url=http://yhst-12000246778232.stores.yahoo.net/ilst19.html]1946 @ NWS Onli
    Reply With Quote Reply With Quote

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •