You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[PPV2] PPB-68 Fixed compute based effects not supported on OpenGLES (#8170)
* Fixed compute based effects not supported on some OpenGL platforms
* Update CHANGELOG
* Fixed compute based effects not supported on OpenGLES
* Update CHANGELOG
Copy file name to clipboardExpand all lines: com.unity.postprocessing/PostProcessing/Editor/Effects/AmbientOcclusionEditor.cs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -53,13 +53,13 @@ public override void OnInspectorGUI()
53
53
{
54
54
EditorGUILayout.HelpBox("Multi-scale volumetric obscurance requires compute shader support which is not available on this platform.",MessageType.Error);
55
55
}
56
-
elseif(EditorUtilities.isTargetingWebGL)
56
+
if(EditorUtilities.isTargetingOpenGLES)
57
57
{
58
-
EditorGUILayout.HelpBox("Multi-scale volumetric obscurance requires compute shader support (WebGPU) when running on Web.",MessageType.Warning);
58
+
EditorGUILayout.HelpBox("\"Multi-scale volumetric obscurance requires compute shader support which is not available for OpenGLES.",MessageType.Warning);
59
59
}
60
-
elseif(EditorUtilities.isTargetingAndroid)
60
+
elseif(EditorUtilities.isTargetingWebGL)
61
61
{
62
-
EditorGUILayout.HelpBox("Multi-scale volumetric obscurance requires compute shader support (Vulkan) when running on Android.",MessageType.Warning);
62
+
EditorGUILayout.HelpBox("Multi-scale volumetric obscurance requires compute shader support (WebGPU) when running on Web.",MessageType.Warning);
0 commit comments