• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community The Community Freelancer Forum
« Previous 1 2 3 4 5 … 67 Next »
Librelancer 2019.08

Server Time (24h)

Players Online

Active Events - Scoreboard

Latest activity

Librelancer 2019.08
Offline Ichiru
12-12-2015, 09:46 PM,
#6
Librelancer, LancerEdit
Posts: 811
Threads: 80
Joined: Oct 2011
Staff roles: Coding Dev

(12-12-2015, 02:36 PM)Stuffz Wrote: So I was looking through your code a bit and have a comment about that planet shader.

You write this:
Code:
out_texcoord = vertex_position;

and don't use your incoming
Code:
in vec2 vertex_texture1;

A texcoord can never be a vertex_position (uvs only go from 0 to 1 whereas local vertex positions go from -1 to 1)
And of course uvs are only vec2s instead of vec3 like you have in your

Code:
out vec3 out_texcoord;

This might fix your bug with the textures on planets not being right.

EDIT:

Also why the hell still use openGL version 1.4?

GLSL Version 140 isn't OpenGL 1.4.
GLSL Version 140 is OpenGL 3.1 lol

Also the New Tokyo bug was an issue with Bgra5551 textures not being loaded correctly which is now fixed. I am, however, going to replace the planet rendering code entirely since I need to use quad spheres instead of iso spheres.

Acolyte of NoMe
  Reply  


Messages In This Thread
Librelancer 2019.08 - by Ichiru - 12-12-2015, 10:11 AM
RE: A little project - by TheJarl - 12-12-2015, 11:07 AM
RE: A little project - by The Savage - 12-12-2015, 11:15 AM
RE: A little project - by Swallow - 12-12-2015, 01:03 PM
RE: A little project - by Stuffz - 12-12-2015, 02:36 PM
RE: A little project - by Ichiru - 12-12-2015, 09:46 PM
RE: A little project - by Stuffz - 12-12-2015, 09:53 PM
RE: A little project - by Laz - 12-13-2015, 02:07 PM
RE: A little project - by Laz - 12-30-2015, 11:39 PM
RE: A little project - by thisDerius - 12-31-2015, 12:03 AM
RE: A little project - by Laz - 12-31-2015, 12:03 AM
RE: A little project - by Glokkman - 01-09-2016, 04:55 AM
RE: A little project - by Ichiru - 01-09-2016, 07:36 PM
RE: A little project - by Ichiru - 03-14-2016, 10:15 AM
RE: A little project - by Ichiru - 03-26-2016, 04:21 PM
RE: Librelancer (DEMO NOW AVAILABLE) - by Lythrilux - 03-26-2016, 05:09 PM
RE: Librelancer (DEMO NOW AVAILABLE) - by Ichiru - 03-26-2016, 05:24 PM
RE: Librelancer (DEMO NOW AVAILABLE) - by Ichiru - 07-24-2016, 05:42 AM
RE: Librelancer (Updated July '16) - by Skorak - 07-24-2016, 10:30 AM
RE: Librelancer (Updated July '16) - by Ichiru - 07-24-2016, 10:49 AM
RE: Librelancer (Updated July '16) - by theflyingrock - 07-24-2016, 01:10 PM
RE: Librelancer (Updated July '16) - by Ichiru - 07-26-2016, 08:52 AM
RE: Librelancer (Updated July '16) - by Riess - 07-24-2016, 08:00 PM
RE: Librelancer (Updated July '16) - by Ichiru - 09-14-2016, 02:26 PM
RE: Librelancer (Updated July '16) - by Ichiru - 11-15-2016, 08:02 PM
RE: Librelancer (Updated July '16) - by Corile - 11-17-2016, 10:35 AM
RE: Librelancer (Updated July '16) - by thisDerius - 11-17-2016, 10:59 AM
RE: Librelancer (Updated July '16) - by Ichiru - 11-18-2016, 03:15 PM
RE: Librelancer (Updated July '16) - by thisDerius - 11-18-2016, 03:24 PM
RE: Librelancer (Updated July '16) - by Ichiru - 11-19-2016, 01:04 AM
RE: Librelancer (Updated July '16) - by thisDerius - 11-19-2016, 02:19 AM
RE: Librelancer (Updated July '16) - by Ichiru - 01-12-2017, 05:20 AM
RE: Librelancer (Updated July '16) - by Durandal - 01-12-2017, 05:33 PM
RE: Librelancer (Updated July '16) - by Ichiru - 01-12-2017, 05:36 PM
RE: Librelancer (Updated July '16) - by Hubjump - 01-12-2017, 07:00 PM
RE: Librelancer (Updated July '16) - by Ichiru - 01-14-2017, 05:06 AM
RE: Librelancer (Updated July '16) - by Corile - 01-15-2017, 04:05 PM
RE: Librelancer (Updated July '16) - by Ichiru - 01-15-2017, 04:17 PM
RE: Librelancer (Updated July '16) - by Riess - 01-15-2017, 10:27 PM
RE: Librelancer (Updated July '16) - by Corile - 01-15-2017, 10:45 PM
RE: Librelancer (Updated July '16) - by Ichiru - 01-16-2017, 05:22 AM
RE: Librelancer (Updated July '16) - by Kauket - 01-16-2017, 05:27 AM
RE: Librelancer (Updated July '16) - by Corile - 01-16-2017, 10:52 AM
RE: Librelancer (Updated July '16) - by Kauket - 01-20-2017, 09:11 AM
RE: Librelancer (Updated July '16) - by Ichiru - 01-20-2017, 09:09 AM
RE: Librelancer (Jan. '17) - by Ichiru - 01-20-2017, 10:33 AM
RE: Librelancer (Jan. '17) - by Ichiru - 02-13-2017, 01:29 AM
RE: Librelancer (Jan. '17) - by Ichiru - 02-14-2017, 04:24 AM
RE: Librelancer (Jan. '17) - by Xeltron245 - 03-01-2017, 04:54 PM
RE: Librelancer (Jan. '17) - by Ichiru - 03-18-2017, 05:25 AM
RE: Librelancer (Jan. '17) - by Xeltron245 - 05-02-2017, 01:46 PM
RE: Librelancer (Jan. '17) - by Durandal - 06-28-2017, 06:45 PM
RE: Librelancer 2017.03 - by Ichiru - 06-27-2017, 07:52 PM
RE: Librelancer 2017.03 - by massdriver - 07-31-2017, 04:08 PM
RE: Librelancer 2017.03 - by thisDerius - 06-28-2017, 07:03 PM
RE: Librelancer 2017.03 - by YaoiKat - 08-01-2017, 10:23 PM
RE: Librelancer 2017.03 - by Ichiru - 08-04-2017, 02:00 PM
RE: Librelancer 2017.03 - by Ichiru - 08-31-2017, 10:48 PM
RE: Librelancer 2017.03 - by Ichiru - 09-21-2017, 05:20 AM
RE: Librelancer 2017.03 - by eigos - 09-30-2017, 06:47 AM
RE: Librelancer 2017.10 - by Ichiru - 10-05-2017, 06:11 AM
RE: Librelancer 2017.10 - by Ichiru - 10-29-2017, 07:35 AM
RE: Librelancer 2017.10 - by Ichiru - 11-01-2017, 04:49 PM
RE: Librelancer 2017.10 - by Ichiru - 11-04-2017, 04:52 PM
RE: Librelancer 2017.10 - by Ichiru - 12-06-2017, 03:37 AM
RE: Librelancer 2017.10 - by Ichiru - 01-08-2018, 03:51 PM
RE: Librelancer 2017.10 - by Ichiru - 05-11-2018, 06:45 AM
RE: Librelancer 2018.12 - by Ichiru - 12-14-2018, 03:26 PM
RE: Librelancer 2018.12 - by LaWey - 12-24-2018, 04:35 PM
RE: Librelancer 2019.01 - by Ichiru - 01-13-2019, 12:38 AM
RE: Librelancer 2019.01 - by Ichiru - 04-16-2019, 06:10 PM
RE: Librelancer 2019.01 - by Kaze - 04-16-2019, 06:18 PM
RE: Librelancer 2019.01 - by Sombs - 06-14-2019, 02:09 PM
RE: Librelancer 2019.01 - by Sombs - 06-25-2019, 02:56 PM
RE: Librelancer 2019.01 - by Nepotu - 06-25-2019, 03:18 PM
RE: Librelancer 2019.01 - by Kaze - 06-25-2019, 04:12 PM
RE: Librelancer 2019.01 - by Quetz - 06-26-2019, 05:05 AM
RE: Librelancer 2019.01 - by KAWISH-ALI - 07-05-2019, 03:32 PM
RE: Librelancer 2019.08 - by Ichiru - 08-03-2019, 02:30 PM
RE: Librelancer 2019.08 - by Sombs - 08-03-2019, 02:43 PM
RE: Librelancer 2019.08 - by Durandal - 08-03-2019, 03:02 PM
RE: Librelancer 2019.08 - by Ichiru - 08-03-2019, 03:16 PM
RE: Librelancer 2019.08 - by Durandal - 08-03-2019, 04:12 PM
RE: Librelancer 2019.08 - by LaWey - 08-03-2019, 04:17 PM
RE: Librelancer 2019.08 - by Ichiru - 08-03-2019, 04:40 PM
RE: Librelancer 2019.08 - by LaWey - 08-03-2019, 04:50 PM
RE: Librelancer 2019.08 - by Ichiru - 08-04-2019, 01:49 PM
RE: Librelancer 2019.08 - by LaWey - 08-04-2019, 02:00 PM
RE: Librelancer 2019.08 - by LaWey - 08-04-2019, 03:01 PM
RE: Librelancer 2019.08 - by Ichiru - 08-04-2019, 08:06 PM
RE: Librelancer 2019.08 - by TheN1K0L4Z - 08-21-2021, 05:24 PM
RE: Librelancer 2019.08 - by Ichiru - 02-13-2022, 03:47 PM

  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



Powered By MyBB, © 2002-2025 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode