Jump to content

LEFans

Members
  • Posts

    100
  • Joined

  • Last visited

Posts posted by LEFans

  1. Abnormal exit.

    Error: Failed to compile fragment shader object.
    0(29) : error C7532: global function texture requires "#version 130" or later
    
    Source:
    #version 120
    #define LW_MAX_PASS_SIZE 64
    #define LW_INSTANCED
    #define LW_SM4
    varying vec4 fragcolor;
    varying vec4 fragcoord;
    uniform sampler2D texture0; //color
    
    uniform float apptime;
    uniform vec2 buffersize;
    

  2. Will not run on GT240.

     

    engine log:

    Leadwerks Engine 2.5

    Initializing Renderer...

    OpenGL Version:

    GLSL Version:

    Render device:

    Vendor:

    Error: GLSL 1.20 is not supported. Please update your graphics drivers or replace your hardware.

  3. texture0="abstract::building1.dds"
    clamp0=0,0,0
    texture1="abstract::building1_nm.dds"
    clamp1=0,0,0
    blend=0
    depthmask=1
    depthtest=1
    overlay=0
    zsort=0
    cullface=0
    castshadows=1
    specular=0.699999988
    bumpscale=1.39999998
    gloss=0.500000000
    shader="abstract::mesh_diffuse_bumpmap.vert","abstract::mesh_diffuse_bumpmap.frag"
    shadowshader="abstract::mesh_shadow.vert",""
    

    building1.mat's code.Test no problem.

×
×
  • Create New...