firtoz / firtoz/Unity3D-Plane-Clipping

Clipping effect not working on iOS

Open
#8 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
ShaderLab
Stars
88
Forks
16
PR merge metrics
No merged PRs in 30d

Description

I'm trying to build a project with this plane clipping effect from Unity 2018.1.2 to iOS 11.4.1 but I don't get the plane clipping effect at all.

Looking at the Xcode console output are the following warnings which I think is why the clipping effect doesn't work:
```
WARNING: Shader Unsupported: 'Custom/StandardClippable' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'Custom/StandardClippable' - Pass 'FORWARD_DELTA' has no vertex shader
WARNING: Shader Unsupported: 'Custom/StandardClippable' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'Custom/StandardClippable' - Pass 'FORWARD_DELTA' has no vertex shader
WARNING: Shader Unsupported: 'Custom/StandardClippable' - Pass 'DEFERRED' has no vertex shader
```

Is building to iOS supported at all? If so is there something I should do that I'm missing? Let me know if you need more info. Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the iOS 11.4.1 build in Unity 2018.1.2 and inspect the Xcode warnings for Custom/StandardClippable. Compare its FORWARD, FORWARD_DELTA, and DEFERRED passes with the supported iOS shader requirements; done means the plane clipping effect renders without these unsupported-pass warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, unity
Domain
computer-graphics, game-dev, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.