Check that transparent decals don't cut the surface under them, and how that follows the material

オープン
#95 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
56/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp, unity
領域
game-dev

調査の方向性

Read DecalSurfaceBuilder and ChiselDecalSettings, then inspect the existing decal component tests to see how render meshes and colliders are checked. Add tests for transparent and opaque decal materials against both transparency settings, including the collider behavior; done means the tests establish the expected surface cuts, overlay offsets, and inspector warning or material-following behavior.

索引モデルが issue の本文から書いたものです。

説明

task

A decal marked transparent is drawn over the surface under it; an opaque one cuts its shape out of that surface and puts itself in its place (DecalSurfaceBuilder: transparent volumes are skipped by the cut). Whether a decal is transparent is its own setting (ChiselDecalSettings.transparent, on by default), not taken from its material.

To check:

  • A transparent decal leaves the surface under it whole in the render mesh, and its pieces are drawn over it with the surface offset
  • An opaque decal whose material is transparent cuts a hole the material then shows through, and a transparent decal with an opaque material draws over a surface it could have replaced. Decide whether the setting should follow the material (render queue or surface type), or at least warn in the decal's inspector when they disagree
  • The collider keeps the uncut surface either way
  • Tests for each, in the component tests next to the existing decal tests
主要言語
C#
スター
135
フォーク
15
平均マージ
24分
マージ済み PR(30日)
89

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RadicalCSG/com.chisel のほかの issue

RadicalCSG/com.chisel の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。