#Computer shaders kernal error

5 messages · Page 1 of 1 (latest)

tidal mirage
#

RayTracingShader.compute: Kernel at index (0) is invalid
UnityEngine.StackTraceUtility:ExtractStackTrace ()
RayTracingMaster:Render (UnityEngine.RenderTexture) (at Assets/RayTracingMaster.cs:25)
RayTracingMaster:OnRenderImage (UnityEngine.RenderTexture,UnityEngine.RenderTexture) (at Assets/RayTracingMaster.cs:12)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Im using this tutorial: https://www.gamedeveloper.com/programming/gpu-ray-tracing-in-unity-part-1

tidal mirage
#

some one is saying its a compiling error

#

Im getting error :

UnityEngine.StackTraceUtility:ExtractStackTrace ()
RayTracingMaster:Render (UnityEngine.RenderTexture) (at Assets/RayTracingMaster.cs:25)
RayTracingMaster:OnRenderImage (UnityEngine.RenderTexture,UnityEngine.RenderTexture) (at Assets/RayTracingMaster.cs:12)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)```


all I know its that a kernal with an index of 0 is invalid

im trying to follow this tutorial to learn about raytracing with compute shaders: https://www.gamedeveloper.com/programming/gpu-ray-tracing-in-unity-part-1 

Im at the point were it says Try rotating the camera in the inspector. `You should see that the 'colorful sky' behaves accordingly.` but I have that error instead
tiny mango
tidal mirage
#

I got it fixed some howw