Shader attempts to shade and texture wire frame geometry
Reported by lindsay.kay (at xeolabs) | April 18th, 2010 @ 11:38 AM | in V0.7.3
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".
Comments and changes to this ticket
-
lindsay.kay (at xeolabs) April 18th, 2010 @ 11:52 PM
- Milestone set to V0.7.3
-
lindsay.kay (at xeolabs) April 19th, 2010 @ 01:57 AM
- 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.
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
SceneJS provides easy access to WebGL through a simple and declarative JavaScript API. The SceneJS API is functional, which enables its scene definitions to be really compact and expressive, while hooking into other JavaScript code just that little bit more smoothly.