-
Posts
3,618 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by shadmar
-
-
Look in main.lua
--Load a map local mapfile = System:GetProperty("map","Maps/start.map")
Just change start.map to the map you have saved.
-
Yeah I can see that, I only get this in the editor on ubuntu 14, but I've only tested on the DLC characters and Crawler.
-
If I remember, all this is still just the Leadwerks editor/model editor (annoying enough), but ingame it renders as it should, so distibuting a game with animated characters still works on Linux?
-
Leadwerks.log?
.. Loading texture "D:/Documents/Leadwerks/Projects/Planets/Models/Trees/pine01_billboard1_normal.tex"... Loading texture "D:/Documents/Leadwerks/Projects/Planets/Models/Trees/pine01_billboard1_emission.tex"... Loading shader "D:/Documents/Leadwerks/Projects/Planets/Shaders/PostEffects/sslr.shader"... Deleting shader "D:/Documents/Leadwerks/Projects/Planets/Shaders/PostEffects/sslr.shader" Loading shader "D:/Documents/Leadwerks/Projects/Planets/Shaders/Drawing/drawimage.shader"... Uploading package (115909 bytes)... Saving settings... Shutting down Steam... Closing program... ..
I can make you a CO-author and you can update it using the zip file in the first post?
-
Maybe test for when KeyDown() is no longer true?
-
It's not possible to update WS items. Same error as always:
Failed to publish update, no oher error or log entry.
I want to fix my broken WS items but I can't.
- 1
-
You could sample the probe cubemap, havent tried it yet, but Josh says it's the first texture of the probe entity's material.
-
I dont know where you found this, but it's not for LE4, it was an interim water for LE3 when there were no other water solutions.
So it's not updated to work with LE4.
-
You can also different degrees of transparency, only looks decent if you apply FXAA
//mode 1..5, 1=solid, 5 almost invisible void TransparencyFilter(int mode) { { int ix = int(mod((int(gl_FragCoord.x+0.5)),mode)+0.5); int iy = int(mod((int(gl_FragCoord.y+0.5)),mode)+0.5); if (ix!=iy) discard; } }
-
Not that it changes the bug or anything, but why would you need 7 active cameras?
-
-
That just worked not along ago?
However you could do this using low sample sslr which would probably be cheaper, but with FOV issues.
- 1
-
Quick updated code:
--Initialize Steamworks (optional) Steamworks:Initialize() --Set the application title title="test" --Create a window local windowstyle = window.Titlebar if System:GetProperty("fullscreen")=="1" then windowstyle=windowstyle+window.FullScreen end window=Window:Create(title,0,0,System:GetProperty("screenwidth","1024"),System:GetProperty("screenheight","768"),windowstyle) window:HideMouse() --Create the graphics context context=Context:Create(window,0) if context==nil then return end --Create a world world=World:Create() world:SetLightQuality((System:GetProperty("lightquality","1"))) --create buffer, acamera and material buffer = Buffer:GetCurrent() camera = Camera:Create() light = DirectionalLight:Create() light:SetRotation(45,45,45) box1 = Model:Box() mat1 = Material:Create() shader = Shader:Load("Shaders/model/diffuse.shader") mat1:SetShader(shader) shader:Release() box1:SetPosition(0,0,3) box1:SetMaterial(mat1) mybuffer = Buffer:Create(100,100,1,1) while window:KeyDown(Key.Escape)==false do box1:Turn(1,1,1) --If window has been closed, end the program if window:Closed() then break end --Update the app timing Time:Update() --Update the world world:Update() --Render the world world:Render() --draw context to buffer Buffer:SetCurrent(mybuffer) context:SetBlendMode(Blend.Alpha) context:SetColor(.1,.1,.1,1) context:DrawRect(0,0,100,100) context:SetColor(1,.5,0,1) context:DrawText(string.format("FPS: %.2f",Time:UPS()),15,40) tex = mybuffer:GetColorTexture(0) mat1:SetTexture(tex,0) Buffer:SetCurrent(context) --Refresh the screen context:Sync(true) end
Pic
- 1
-
Which door?
-
You can't do that.
-
That is an outdated version 3.1, I'm surprised it's still in there since Leadwerks went 100% steam a while back.
Anyway you need an OpenGL4 card equivalent to DirectX 11 to run it with updated propritary drivers to run it.
-
I wish I had something like :
Probe:GetCubeMap()
Which would return the cubemap of the probe.
-
What kind of resolution?
Maybe round the window width and heigth.
- 1
-
Are you using a material or tex as source of skybox?
-
I want gosub too!!
-
-
Thanks!
-
These are easy to fix, anyone on AMD aswell?
-
Try git locally, it wil track all changes to all files and show you the diff even, and you can just revert the LE update if not happy.
- 1
Game Launcher problem on Ubuntu 14.04 LTS
in Linux
Posted
I tried to get to some of the games on the launcher on my Ubuntu.
But the launcher window are bigger than my resolution 1920x1080, after clicking a game, the PLAY button are not visible (below the screen) and the window are not resizeable.