Browse Source

Use raw string literals for BaseMaterial3D shader code generation

- Add range hints to all uniforms that match the BaseMaterial3D
  property hints, so that ranges in the inspector remain identical
  after converting to a shader.
- Add comments to describe selected options within the shader.
  This makes it easier to remember what each block of code does.
- Format code to follow the Godot shader language style guide.
Hugo Locurcio 1 year ago
parent
commit
1e2b8992ae
1 changed files with 529 additions and 279 deletions
  1. 529 279
      scene/resources/material.cpp

File diff suppressed because it is too large
+ 529 - 279
scene/resources/material.cpp


Some files were not shown because too many files changed in this diff