Sam Hocevar
0ef4e3c203
Clean up a lot of shader crap
преди 8 години
Sam Hocevar
d33c31279e
Fully move meshviewer to its own subdirectory to avoid build errors.
преди 9 години
Benjamin ‘Touky’ Huet
3aac6cb2f2
Reorganizing MeshViewer
преди 9 години
Sam Hocevar
d72cb24bc0
build: move sample and tutorial files around.
преди 10 години
Sam Hocevar
cadc4d18b0
test: move the unit tests to the engine, and lolunit out of the engine.
преди 10 години
Sam Hocevar
79ed58f1f0
Merge branch 'master' into scenegraph
преди 10 години
Sam Hocevar
232fa4126d
gpu: rename uniforms here and there for consistency.
преди 10 години
Benlitz
f104674963
gpu: removed attribute name, everything works using semantic only now. For glsl, semantic is determined from the attribute name which must follow this pattern: in_[Semantic][index], index being optional. Note: this may break most of the projects although I tried to updated every shader accordingly
преди 11 години
Lolbot
3661a929e6
fixed 4 files out of 2376:
- removed 7 CR characters
- removed 5 trailing whitespaces
- replaced 24 tabs with spaces
преди 11 години
Benjamin ‘Touky’ Huet
e4cf8211e4
Added VertexDictionnary object to manage vertices with same coord && connected vertices.
Added UVs system with and UVs generation test (not very conclusive)
преди 11 години
Benjamin ‘Touky’ Huet
bb0051ae8e
render : Added DebugRenderMode & corresponding shaders. naive (VERY) implementation in MeshViewer.
преди 12 години
Sam Hocevar
0ba4e6d9e0
easymesh: interface the shiny shader with new Light objects.
преди 12 години
Lolbot
7e4da3d634
fixed 27 files out of 2315:
- removed 0 CR characters
- removed 188 trailing whitespaces
- replaced 537 tabs with spaces
преди 12 години
Benjamin ‘Touky’ Huet
6db0694db4
Revert shiny.lolfx to previous, monogolo-commit.
преди 12 години
Benjamin ‘Touky’ Huet
4393a43752
Added CSG v0.001a : not optimized, too much operation makes it slow. triangle count is not optimized.
Useage : "...[.... csg*]" equals "current mesh -CSG- the mesh in the braces".
Keywords : CsgUnion<csgu>, CsgSubstract<csgs>, CsgAnd<csga>, CsgXor<csgx>
TODO : cleanup useless code.
TODO : Some bugs are still present, some face that disappear should not.
TODO : Correct epsilon useage (see geometry files).
TODO : Coplanar face are not handled -at all-.
TODO : Vertex count goes through the roof in case of a Xor.
преди 12 години
Benjamin ‘Touky’ Huet
5e5c8c4e25
specular on cube light. Not the correct effect.
преди 12 години
Benjamin ‘Touky’ Huet
924a2afbbe
the stupidest idea of the day : the cube light, specular still missing.
преди 12 години
Benjamin ‘Touky’ Huet
7c0134ea12
shiny.lolfx now has a PointLight & a DirectionalLight.
Sorry for all the fine projects that use this shader !
преди 12 години
Sam Hocevar
573c5053d9
easymesh: fix point light handling.
преди 12 години
Benjamin ‘Touky’ Huet
828734c3f2
"Point light" Tweak
преди 12 години
Benjamin ‘Touky’ Huet
8cde92fd2e
first commit in a while, small test in ShinyLol
преди 12 години
Sam Hocevar
549566cbf1
lolfx: use square brackets to indicate shader sections.
преди 12 години
Sam Hocevar
291119d087
easymesh: per-fragment lighting in the HLSL shader (PS3, Xbox 360).
преди 12 години
Sam Hocevar
fd77cb00f2
easymesh: fragment-based lighting.
преди 12 години
Sam Hocevar
837e56435d
easymesh: fix the specular highlight in the OpenGL shader.
преди 12 години
Sam Hocevar
23ab462042
gpu: try to patch some simple GLSL shaders on the fly so that they
work on OpenGL ES contexts.
преди 12 години
Sam Hocevar
a36e930a87
easymesh: allow the shader to build on GL ES.
преди 12 години
Sam Hocevar
4621420316
easymesh: fix the HLSL code in shiny.lolfx.
преди 12 години
Sam Hocevar
782379a86a
easymesh: the light direction is now a uniform variable.
преди 12 години
Sam Hocevar
86a16aaff6
easymesh: move the Mesh builder into the engine core.
преди 12 години