8000 Tags · derekmu/g3n · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: derekmu/g3n

Tags

v0.2.116

Toggle v0.2.116's commit message
fix: update shaders after changes to texture udata

v0.2.115

Toggle v0.2.115's commit message
refactor: remove texture flip y

Flip sprite and panel quad UVs.

v0.2.114

Toggle v0.2.114's commit message
tweak: add VPosition variable to shaders

The interpolated vertex position for a fragment should be useful.
Made the Position variable in standard shaders a vec3, to match physical shaders.
Removed standard vertex shader in favor of the physical vertex shader which is the same except for texture flips (not sure if that's really needed except for UI).

v0.2.113

Toggle v0.2.113's commit message
refactor: make normal into a parameter for PBR

Varying the normal at shader level should make some interesting effects possible.
Added color and normal maps to the demo for testing shader changes.

v0.2.112

Toggle v0.2.112's commit message
fix: update label font before measuring text

I am way too careless in refactoring. This was quite dumb of me.

v0.2.111

Toggle v0.2.111's commit message
refactor: update Canvas to handle resizing

Renamed methods on math32.Color interface to ToXXX. This is so that math32.Color and color.Color don't interfere and can both be implemented.

v0.2.110

Toggle v0.2.110's commit message
refactor: accept math32.Color in material.Physical

v0.2.109

Toggle v0.2.109's commit message
refactor: update colors

The color.Color interface says the RGBA() method is supposed return alpha-premultiplied components. math32.Color4 wasn't doing it, so I started digging in.
For text rendering, we actually want to ignore alpha-premultiplication so blending at the edges doesn't look bad.

Renamed math32.Color to math32.Color3 and added math32.Color interface which declares methods for converting between Color3/4 and color.N/RGBA.
This should make it easier to use other color models by implementing that interface.
It's now explicit when using alpha-premultiplication (color.NGRBA does alpha-premultiplication and color.RGBA doesn't - technically RGBA documentation says it should already be premultiplied, but we can ignore it).

Removed intensity from all lights. It's just a multiplier on the color. Just set brighter colors? Maybe I'm missing something, but that's never stopped me before.

v0.2.108

Toggle v0.2.108's commit message
fix: drop alpha on pbr emissive color

v0.2.107

Toggle v0.2.107's commit message
refactor: make the phong lighting model an include

0