Botania

Botania

133M Downloads

error(#137) "attribute" supported in vertex shaders only

wjrogers opened this issue ยท 7 comments

commented

This error appears in the log during Forge mod loading. The game still runs, and I see particles around the Botania flowers, so I'm unsure what the impact is.

java.lang.RuntimeException: Error creating shader: Fragment shader failed to compile with the following errors:
ERROR: 0:3: error(#137) "attribute" supported in vertex shaders only
ERROR: error(#273) 1 compilation errors. No code generated
at vazkii.botania.client.core.helper.ShaderHelper.createShader(ShaderHelper.java:124)

http://paste.ee/p/cUcTY

commented

That's not the full log. Which build are you running?

commented

That's not the full log either.

commented

Which GPU are you running?

commented

I'm on a laptop with switchable graphics; it has both Intel HD Graphics 4400 and a Radeon 8750M. AFAIK, the Radeon should be active while running Minecraft. The AMD driver version is 13.152.1.9002 (and unfortunately I don't have the option of updating it because the switchable graphics feature requires I use the drivers from the manufacturer).

That's the full text of fml-client-latest.log. If there's a different "full log" you want, please let me know where to find it. There's also a file named just latest.log that contains dozens of these exceptions:

java.lang.NullPointerException
    at vazkii.botania.client.render.entity.RenderDoppleganger.func_110775_a(RenderDoppleganger.java:70) ~[RenderDoppleganger.class:?]
    at net.minecraft.client.renderer.entity.Render.func_110777_b(SourceFile:47) ~[bno.class:?]
    at net.minecraft.client.renderer.entity.RendererLivingEntity.func_77036_a(RendererLivingEntity.java:286) ~[boh.class:?]
    at net.minecraft.client.renderer.entity.RendererLivingEntity.func_76986_a(RendererLivingEntity.java:149) [boh.class:?]
    at net.minecraft.client.renderer.entity.RenderLiving.func_76986_a(SourceFile:23) [bok.class:?]
    at net.minecraft.client.renderer.entity.RenderBiped.func_76986_a(RenderBiped.java:164) [bnw.class:?]
    at net.minecraft.client.renderer.entity.RenderBiped.func_76986_a(RenderBiped.java:361) [bnw.class:?]
    at vazkii.botania.client.render.entity.RenderDoppleganger.func_76986_a(RenderDoppleganger.java:64) [RenderDoppleganger.class:?]
    at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:293) [bnn.class:?]
    at net.minecraft.client.renderer.entity.RenderManager.func_147940_a(RenderManager.java:276) [bnn.class:?]
    at bspkrs.client.util.EntityUtils.drawEntityOnScreen(EntityUtils.java:188) [EntityUtils.class:?]
    at bspkrs.bspkrscore.fml.BSMainMenuRenderTicker.onTick(BSMainMenuRenderTicker.java:85) [BSMainMenuRenderTicker.class:?]
    at cpw.mods.fml.common.eventhandler.ASMEventHandler_97_BSMainMenuRenderTicker_onTick_RenderTickEvent.invoke(.dynamic) [?:?]
    at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:51) [ASMEventHandler.class:?]
    at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:122) [EventBus.class:?]
    at cpw.mods.fml.common.FMLCommonHandler.onRenderTickStart(FMLCommonHandler.java:334) [FMLCommonHandler.class:?]
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:987) [bao.class:?]
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887) [bao.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_65]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_65]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_65]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_65]
    at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:273) [NewLaunch.jar:?]
    at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:363) [NewLaunch.jar:?]
    at org.multimc.EntryPoint.listen(EntryPoint.java:165) [NewLaunch.jar:?]
    at org.multimc.EntryPoint.main(EntryPoint.java:54) [NewLaunch.jar:?]
[15:36:42] [Client thread/ERROR]: Couldn't render entity
commented

I'm running build 87.

I apologize; I'm new to Minecraft modding and I assumed the log in the MultiMC console was the same as the full FML log. I see now that it isn't. This error does not appear in the FML log.

Here's the full log for completeness. http://paste.ee/p/FKWDf

commented

Interesting, I'll see what I can do, if anything, might be another weird GLSL compatibility. Try turning off the shaders in the config for now.

commented

Should be fixed in the next version.