Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Shader attempts to shade and texture wire frame geometry

#16

Symptoms: wire frame geometry is only visible when normals and UV coordinates are specified for it.

Reason: UVs and normals are expected by the generated arrays and samplers.

Fix: Shader generator should not generate shading and texturing routines when geometry primitive is "lines".

Reported by lindsay.kay (at xeolabs) · April 18th, 2010 @ 11:38 AM

State: resolved
Milestone: V0.7.3

Activity

  1. lindsay.kay (at xeolabs)
  2. lindsay.kay (at xeolabs)
    lindsay.kay (at xeolabs)
    • State changed from open to resolved

    Fixed shader GLSL generation so that it only creates lighting instructions when lights active AND geometry has normal vectors defined.

    Also fixed it so texturing instructions are generated when textures active AND geometry has UV coordinates defined.

    April 19th, 2010 @ 01:57 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.