breush / lava Goto Github PK
View Code? Open in Web Editor NEWlava - bundle of multiple projects making an open-source cross-platform **game engine**
License: MIT License
lava - bundle of multiple projects making an open-source cross-platform **game engine**
License: MIT License
So that the GLB loader can handle classic Sponza model.
Shader definition proposal:
geometry in vec2 uv;
// Input for the material, only usable in geometry()
uniform material = {
vec4 color = vec4(1, 1, 1, 1);
sampler2d diffuseMap = "white";
};
// Only data that is shared between geometry (writing it),
// and epiphany (reading it).
// Keep this as small as possible for better performances.
buffer node = {
vec4 color;
};
// Return whether the fragment should be considered as translucent.
bool geometry() {
node.color = material.color * texture(material.diffuseMap, uv);
return node.color.a < 1.0;
}
// "epiphany in" contening light information
// Return the final composed color.
// This operation should be way more costly than the geometry one.
vec4 epiphany() {
return node.color;
}
Magma usage:
magma::RenderEngine engine;
engine.registerMaterialFromFile("material-name", "shader.shmag");
auto& texture = engine.make<Texture>("diffuse-map.jpg");
auto& material = engine.make<Material>("material-name");
material.set("color", glm::vec4(1, 0, 0, 1));
material.set("diffuseMap", texture);
Handle emissive texture with RmMaterial and during GLB loading.
Currently, we are drawing the scene twice, but we could make it so that it generates both eyes in one rendering pass.
PulseAudio is said to be cross-platform, we might look into that.
Currently, the light ubo holders are created in the renderer.
But they are both the same, with the same update.
Should be moved to the lights implementations.
Have a CameraComponent.
terminate called after throwing an instance of 'vk::DeviceLostError'
what(): vk::Device::waitIdle: ErrorDeviceLost
See what to do with openVR.
Let the possibility to configure:
In the physics-demo example, when right-clicking to spawn spheres, there is sometimes a one-frame delay before the sphere is moved up. It appears in (0, 0, 0) for a short time.
Standard shadow maps.
Complete all missing events.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.