Update for AtlasBuilder ok
Need to improuve duplicate vertex for mapping texture.
This commit is contained in:
parent
4777783ffb
commit
b9a2b87fe9
11 changed files with 160 additions and 33 deletions
|
|
@ -163,6 +163,10 @@ namespace Map3DRendering.Common {
|
|||
/// </summary>
|
||||
/// <param name="name">The name of the uniform</param>
|
||||
/// <param name="data">The data to set</param>
|
||||
public void SetVector2(string name, Vector2 data) {
|
||||
GL.UseProgram(Handle);
|
||||
GL.Uniform2(_uniformLocations[name], data);
|
||||
}
|
||||
public void SetVector3(string name, Vector3 data) {
|
||||
GL.UseProgram(Handle);
|
||||
GL.Uniform3(_uniformLocations[name], data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue