Search found 4 matches

by Coffee_
Tue Sep 12, 2017 2:39 pm
Forum: Snippets
Topic: Tank Shader for Tank Exporter
Replies: 0
Views: 567

Tank Shader for Tank Exporter

This shader uses 3 lights... Some of the values in the specular calculations are tweaked to get the best results. // tank_fragment.glsl //Used to light all models #version 130 uniform sampler2D colorMap; uniform sampler2D normalMap; uniform sampler2D gmmMap; uniform sampler2D aoMap; uniform sampler2...
by Coffee_
Wed Sep 06, 2017 7:57 am
Forum: Snippets
Topic: Mixing the camouflage texture to get the right colors.
Replies: 0
Views: 497

Mixing the camouflage texture to get the right colors.

// colors hard coded for Cusa_1_7OldschoolUsa.dds // Note how they are listed in the file is NOT the order needed // to mix them correctly! // convert to 0.0 to 1.0 by dividing by 255.0 vec4 c2 = vec4(52 , 87 , 95 , 0 )/255.0; vec4 c0 = vec4(239, 169, 105, 158)/255.0; vec4 c3 = vec4(138, 21 , 39 , ...
by Coffee_
Tue Aug 01, 2017 4:03 pm
Forum: Snippets
Topic: Accessing WoT API Server
Replies: 0
Views: 530

Accessing WoT API Server

More info for here: https://developers.wargaming.net/ about the API. This code downloads and cleans up the data from world of tanks dev api interface. #Region "imports" Imports System.Windows Imports System.Windows.Forms Imports System.Drawing Imports System.Drawing.Drawing2D Imports System.Net Impo...
by Coffee_
Thu Jul 27, 2017 4:19 pm
Forum: General Information about Terra.
Topic: Terra questions thread...
Replies: 0
Views: 819

Terra questions thread...

Ask something and I'll try to answer as soon as possible...