Priyank.Jain2 Posted June 29, 2017 Share Posted June 29, 2017 For Intel graphics card I have observed that one of our shader is not getting compiled, and throws error: Uniform "s_light_shadow_iradius" has different type across different shaders. Its been observed that data\core\shaders\default\common\common_base.h is having it as half4 and float4 both. Which should be the appropriate type here? Link to comment
silent Posted June 29, 2017 Share Posted June 29, 2017 Priyank.Jain2 Could you please specify: Graphics API, GPU Driver version SDK version If you can also provide a small test sample for reproduction - it will be very helpful. Thanks! 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
Priyank.Jain2 Posted June 30, 2017 Author Share Posted June 30, 2017 Graphics API : OpenGL GPU Driver version: Intel® HD Graphics 4400, driver 10.18.14.4432 Intel® HD Graphics 5000, driver 20.19.15.4331 Intel® HD Graphics family, driver 20.19.15.4483 Intel® HD Graphics 520, driver 20.19.15.453 SDK version : 2.3.1 I will try to create a test sample, but till then do you see any potential issue if I use float4 at both places because that solves the issue for now and we are nearing the release. Link to comment
silent Posted June 30, 2017 Share Posted June 30, 2017 Priyank.Jain2 If it's working OK on your PCs and you see no artifacts there, I will assume that fix is correct. We can tell you more when we will receive a small test sample and perform some additional debugging. Thanks! 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
Priyank.Jain2 Posted June 30, 2017 Author Share Posted June 30, 2017 Yes for us it worked when we changed s_light_shadow_iradius to float in common_base.h. It was we basically required to maintain the type with shaders\common\parameters.h Link to comment
Recommended Posts