Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - soil

Pages: [1]
1
Did you have a working example ?. I am newbie in webgl shaders. I must see complet shader or example :) Thanks. In this example http://mrdoob.github.com/three.js/examples/webgl_custom_attributes_lines.html shaders work. But I need create quad from THREE.Line and use texture. input: 2 coord (or 4 recalculated from 2 & direction vector) output: glow line.
I want to much ? :)

2
General coding questions / Glow line with webgl
« on: July 23, 2012 »
Hi. I need help with webgl.

What is the best way to draw a glow line (like a Laser beam,Starwars,...) in webgl with line 2 vertices (start,end). I prefer three.js but in this case is only width = 1. I read in this forum about quads with texture on line with shaders. Do you have shader example work with webgl (or with three.js) ?

One solution was use THREE.Plane as line with texture. But this contain only center position vector. I need move line with 2 vectors (start,end). Sorry for my english. Thanks ;]

3
I prefer webgl because it is a solution for web browsers. And this moment is many frameworks/libraries for this. Such as three.js

Pages: [1]