Selaa lähdekoodia

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 vuosi sitten
vanhempi
commit
1e2b8992ae
1 muutettua tiedostoa jossa 529 lisäystä ja 279 poistoa
  1. 529 279
      scene/resources/material.cpp

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 529 - 279
scene/resources/material.cpp


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä