silkcommunity / trippygl Goto Github PK
View Code? Open in Web Editor NEWA simple, lightweight yet highly versatile OpenGL graphics library
License: MIT License
A simple, lightweight yet highly versatile OpenGL graphics library
License: MIT License
Repro Steps:
Expected Results: Shader generate correclty
Actual Results: TrippyGL.ShaderCompilationException: 'FragmentShaderArb didn't compile properly:
0(16) : error C1048: invalid character 'A' in swizzle "A"
'
Cause is in SimpleShaderProgramBuilder.cs line 303, the GLSL code "if (finalColor.A <" is invalid, the A should be lowercase.
Looking into tinkering around with this project a bit, any plans on release a nuget package? Also noticed the project doesn't have any CI testing with Azure DevOps or GitHub Actions.
Should I just use this as a submodule for now?
Hello, today, when i tryed to load Texture2D
with Texture2DExtensions
, i get a System.MissingMethodException: Method not found
Code to load: texturea = Texture2DExtensions.FromImage(device, SixLabors.ImageSharp.Image.Load<SixLabors.ImageSharp.PixelFormats.Rgba32>("1.jpg"));
Full stacktrace:
Unhandled exception. System.MissingMethodException: Method not found: 'Boolean SixLabors.ImageSharp.Image`1.TryGetSinglePixelSpan(System.Span`1<!0> ByRef)'.
at TrippyGL.ImageSharp.Texture2DExtensions.FromImage(GraphicsDevice graphicsDevice, Image`1 image, Boolean generateMipmaps)
at silknetlearn.GameWindow.Load() in D:\C#\silknetlearn\Program.cs:line 84
at Silk.NET.Windowing.Internals.ViewImplementationBase.Initialize()
at Silk.NET.Windowing.WindowExtensions.Run(IView view)
at silknetlearn.GameWindow..ctor() in D:\C#\silknetlearn\Program.cs:line 46
at silknetlearn.Program.Main(String[] args) in D:\C#\silknetlearn\Program.cs:line 16
I found this case avalonia-silk.net
But loops and 2D drawing are too difficult for me
The name of the uniforms isn't properly cut.
This is because of the code at the constructor of ShaderUniform:
TrippyGL/TrippyGL/ShaderUniform.cs
Lines 49 to 60 in 2ef708c
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.