sample Tiny_MeshLarge error.
[IGL] Error in (igl::Result igl::opengl::RenderPipelineState::create(const igl::RenderPipelineDesc&)). Sampler uniform (texSkyboxIrradiance) not found in shader. [IGL] Error in (igl::Result igl::opengl::RenderPipelineState::create(const igl::RenderPipelineDesc&)). Sampler uniform (texAlpha) not found in shader. [IGL] Error in (igl::Result igl::opengl::RenderPipelineState::create(const igl::RenderPipelineDesc&)). Sampler uniform (texDiffuse) not found in shader. [IGL] Error in (igl::Result igl::opengl::RenderPipelineState::create(const igl::RenderPipelineDesc&)). Sampler uniform (texAmbient) not found in shader. [IGL] Error in (igl::Result igl::opengl::RenderPipelineState::create(const igl::RenderPipelineDesc&)). Sampler uniform (texShadow) not found in shader. [IGL] Error in (igl::Result igl::opengl::RenderPipelineState::create(const igl::RenderPipelineDesc&)). uniform block (MeshMaterials) not found in shader. [IGL] Error in (igl::Result igl::opengl::ShaderModule::create(const igl::ShaderModuleDesc&)). failed to compile vertex shader: 0:1(1): error: syntax error, unexpected NEW_IDENTIFIER
Source precision mediump float;attribute vec2 position; attribute vec2 texCoords; attribute vec4 color; uniform mat4 projectionMatrix; varying vec2 Frag_UV; varying vec4 Frag_Color; void main() { Frag_UV = texCoords; Frag_Color = color; gl_Position = projectionMatrix * vec4(position.xy, 0, 1); }[IGL] Assert failed in 'Ptr igl::opengl::{anonymous}::createResource(const Desc&, igl::Result*, Params&& ...) [with Ptr = std::shared_ptrigl::opengl::ShaderModule; Desc = igl::ShaderModuleDesc; Params = {igl::opengl::IContext&, const igl::ShaderModuleInfo&}]' (/home/jiale/Workspace/igl/src/igl/opengl/Device.cpp:68): 0:1(1): error: syntax error, unexpected NEW_IDENTIFIER
Thanks for the bug report!
Could you please tell us more about how to reproduce this issue?
Thanks for the bug report!
Could you please tell us more about how to reproduce this issue?
When I start program It will reproduce the issue. I started it by opengl backend.
My system is arch linux.
7d90f29e3542e5efa372ba18acdcd7359da4f375