Skip to content

Pointlight & Shadows #142

Description

@mightymarcus

When I am using a pointlight for shadows, the fragment shader can not be compiled.

It happens both on Windows 10 native and Browser (Chrome).

Defines: #define DIFFUSE
#define BUMP
#define SPECULARTERM
#define NORMAL
#define UV1
#define SHADOWS
#define LIGHT0
#define LIGHT1
#define POINTLIGHT0
#define POINTLIGHT1
#define DIRLIGHT0
#define SHADOW0
#define SHADOW1
#define SHADOWPCF0
#define SHADOWPCF1
#define BonesPerMesh 0
#define NUM_BONE_INFLUENCERS 0

Error: WARNING: 0:21: '
' : extension directive should occur before any non-preprocessor tokens
ERROR: 0:764: 'computeShadowWithPCFCube' : no matching overloaded function found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions