Bevy 0.9 preview - accessing time in shaders

  Рет қаралды 3,690

chris biscardi

chris biscardi

Күн бұрын

Пікірлер: 6
@icesentry
@icesentry 2 жыл бұрын
I'm super happy that you liked this feature, I've also wanted this for a long time. It took a lot longer than I expected to get this merged. I never expected I would see a whole video made on a PR I made 😅
@dealloc
@dealloc 2 жыл бұрын
What a coincidence. I was thinking about this when doing shaders in Bevy. Great to see this coming!
@MrNathanShow
@MrNathanShow Жыл бұрын
Do you know any details on how to access these globale via GLSL? Wgsl is still a bit of a pain for me... but maybe I need to just bite the bullet and learn it.
@chrisbiscardi
@chrisbiscardi Жыл бұрын
I don't work with GLSL inside of Bevy unfortunately, so I haven't been keeping up. It unfortunately looks like using wgsl modules from GLSL is currently broken though, according to this comment in the bevy repo: github.com/bevyengine/bevy/blob/aa489eced0ecfe0de38a9afca5a56c7934b949ab/assets/shaders/custom_material.frag#L13-L15 My suggestion would definitely be to try to work with wgsl as much as possible with Bevy. Support for other shader languages is definitely secondary to wgsl support IMO.
@MrNathanShow
@MrNathanShow Жыл бұрын
Yeah, dang since I'm coming from GLSL... but will bite the bullet haha. Thank you very much for responding!
@Galakyllz
@Galakyllz 2 жыл бұрын
I wonder why they chose an hour instead of max value?
What is a Cubesphere?
27:50
chris biscardi
Рет қаралды 3,6 М.
What's in a wgsl fragment shader? ft Bevy
19:17
chris biscardi
Рет қаралды 12 М.
$1 vs $500,000 Plane Ticket!
12:20
MrBeast
Рет қаралды 122 МЛН
Bevy Rendering Demystified
25:30
Logic Projects
Рет қаралды 16 М.
12 months with the Bevy Game Engine - This Year in Bevy 2024
9:23
chris biscardi
Рет қаралды 8 М.
What's better than one set of UVs? Two.
9:08
chris biscardi
Рет қаралды 1,4 М.
Actix Web vs. Axum: Is One a Clear Winner?
8:59
OptiCode
Рет қаралды 3,1 М.
0.15.1, conveyor belts, and simple preferences - This Week in Bevy
7:27
Coding Adventure: Compute Shaders
5:25
Sebastian Lague
Рет қаралды 801 М.
Mesh generation, Voxels, and terminals - This Week in Bevy
7:56
chris biscardi
Рет қаралды 5 М.
Introduction to shaders: Learn the basics!
34:50
Barney Codes
Рет қаралды 381 М.
$1 vs $500,000 Plane Ticket!
12:20
MrBeast
Рет қаралды 122 МЛН