werner.poetzelberger Posted June 29, 2023 Share Posted June 29, 2023 (edited) 17:02:19 ERROR: Failed to compile fragment shader 17:02:19 ERROR: Compilation log: 17:02:19 ERROR: (4670,2-7): error X3004: undeclared identifier 'output' 17:02:19 ERROR: hlsl 4670: output.color = srgbInv(texture_emission * emission_color) * emission_scale; 17:02:19 ERROR: 17:02:19 ERROR: Material::fetchShader(): can't compile pass:"emission" material:"core/materials/base/objects/grass/base/grass_base.basemat" 17:01:49 ---- Engine ---- 17:01:49 Version: 2.16.1.0 sweetluna_video_grabber-a756f2c May 10 2023 17:01:49 Binary: Windows 64-bit Visual C++ 1900 Release 17:01:49 Engine features: OpenGL4.5 Direct3D11 OpenAL SplashScreen CustomSplashScreen CustomProxy QuadBuffer Geodetic FloatCoords HalfTexCoords Release I need that emission. How can we fix that? thx.Werner Edited June 29, 2023 by werner.poetzelberger Link to comment
werner.poetzelberger Posted June 29, 2023 Author Share Posted June 29, 2023 Helmut fixed it.. STRUCT_FRAG_BEGIN INIT_COLOR(float4) STRUCT_FRAG_END in the fragment shader Link to comment
silent Posted June 30, 2023 Share Posted June 30, 2023 Thanks! Fixed. Looks like nobody was trying to use emissive grass before :) How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
werner.poetzelberger Posted June 30, 2023 Author Share Posted June 30, 2023 The auxiliary frag has the same issue! Link to comment
silent Posted June 30, 2023 Share Posted June 30, 2023 9 minutes ago, werner.poetzelberger said: The auxiliary frag has the same issue! Yep, that should be already fixed in the released 2.17 version. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts