Voxel cone tracing doesn't work on 4.4.0-beta 5

Aperta
#3,374 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp

Direzione di ricerca

Riproduci il problema con il progetto MyGame2 allegato usando il renderer Voxel Cone Tracing Forward e l’illuminazione Voxel. Parti da Stride.Shaders.Parsing.SDSL.AST.AccessorChainExpression.CompileHelper in sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Expression.cs, alla riga 1286, quindi segui le chiamate di elaborazione dei simboli segnalate; il lavoro è completato quando la scena viene renderizzata su 4.4.0-beta 5 senza la NotImplementedException.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area-Graphics area-Shaders bug regression

Release Type: Beta

Version: 4.4.0-beta 5 (works on 4.3.0.2507 and previous versions)

Platform(s): Windows 11 25H2 26200.9168

Describe the bug
The scene does't render, instead it pops up the following error message:

Error: One or more errors occurred. (One or more errors occurred. (Error: The method or operation is not implemented.. System.NotImplementedException: The method or operation is not implemented.
   at Stride.Shaders.Parsing.SDSL.AST.AccessorChainExpression.CompileHelper(SymbolTable table, CompilerUnit compiler) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Expression.cs:line 1286
   at Stride.Shaders.Parsing.SDSL.AST.AccessorChainExpression.ProcessSymbol(SymbolTable table, SymbolType expectedType) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Expression.cs:line 780
   at Stride.Shaders.Parsing.SDSL.AST.AssignExpression.ProcessSymbol(SymbolTable table, SymbolType expectedType) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Expression.cs:line 90
   at Stride.Shaders.Parsing.SDSL.AST.ExpressionStatement.ProcessSymbol(SymbolTable table) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Statements.cs:line 36
   at Stride.Shaders.Parsing.SDSL.AST.BlockStatement.ProcessSymbol(SymbolTable table) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Statements.cs:line 225
   at Stride.Shaders.Parsing.SDSL.AST.ShaderMethod.ProcessSymbolBody(SymbolTable table, SpirvContext context) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/ShaderElements.MethodOrMember.cs:line 506
   at Stride.Shaders.Parsing.SDSL.AST.ShaderClass.Compile(SymbolTable table, CompilerUnit compiler) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Shader.cs:line 616
   at Stride.Shaders.Compilers.SDSL.SDSLC.Compile(String filename, String code, ObjectId hash, ReadOnlySpan`1 macros, ILogger log, ShaderBuffers& lastBuffer, CompileOptions options) in /_/sources/shaders/Stride.Shaders.Compilers/SDSL/SDSLC.cs:line 73))

To Reproduce
Steps to reproduce the behavior:
1.

Create a new project with Voxel Cone Tracing Forward renderer (Ensure to have the right deps: Stride.Voxels) and add a Voxel lightning.

Expected behavior & screenshoot

this result as we can see in the screenshoot, showing the ray bouncing into the sphere simulating a mirror effect.
Image

instead, we got this in 4.4.0-beta 5:

MyGame2.zip

Image

Log and callstacks
If any, please attach here any log or callstack (preferably in a .txt file using GitHub drag and drop)

Additional context
added project solution.
MyGame2.zip

Lingua principale
C#
Stelle
8k
Fork
1.2k
Merge medio
2g 7h
PR unite (30g)
316

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di stride3d/stride

Tutte le issue di stride3d/stride

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.