Blasting effect rendering method and device, electronic equipment and storage medium
The invention provides a blasting effect rendering method and device, electronic equipment and a storage medium. The blasting effect rendering method comprises the steps that a first model with an inward normal is formed in the world space of a game engine, the material of the first model is configu...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a blasting effect rendering method and device, electronic equipment and a storage medium. The blasting effect rendering method comprises the steps that a first model with an inward normal is formed in the world space of a game engine, the material of the first model is configured to be semitransparent, and a depth test is closed; obtaining a second model located within the first model; acquiring three position components of the vertex position of the vertex on the second model on three direction axes of the model space of the first model, and forming a first vector corresponding to the vertex by using the three position components; based on the normal direction of the vertex on the second model, screening two position components from the three position components of the first vector as texture sampling coordinates corresponding to the vertex; and obtaining a blasting map, and mapping the blasting map on the second model according to the normal direction of the vertex and the correspondi |
---|