Console error message


(Gianpaolo Savio) #1

When I try to use Neon this error appears:

Console received an Error message: Egret_Shaders.rfx:424: Error S0107: Return expression type (vec3) does not match function return type (vec4).
return texture2D(_kcb_kc5m_sBitmap, vSampleUV).rgb;
Egret_Shaders.rfx:451: Error S0107: Return expression type (vec3) does not match function return type (vec4).
return _kcc_kc6m_vBackgroundColor;
Shader “DefaultPrimitive” compile failed with 0 warnings and 2 errors.


(Brian James) #2

Can you send me the file or a portion of it that also causes this error? Please also let me know the rendering plugin that is currently active.

You can use tech@mcneel.com or rhino3d.com/upload


(Gianpaolo Savio) #3

I’m using Neon and Rhino Render.
I think that the error is due to “Show wallpaper”: if I uncheck it Neon works
NeonErrorC.3dm (1.3 MB)


(Brian James) #4

Hi,

Thanks for the sample file. I have filed this issue as NE-802 for development to look into.

I’d suggest using the image background option in the Display Panel instead with Neon.